Function at 0x4b4dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5145dc
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x54f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x464], edi
mov eax, dword [sym.imp.PHDPFuncs.dll_LogPrintf]
push str.Start_report_run
push 0xf3
push str.MultiCaseRpt::Run
push 0
push 0
push 4
push 6
mov dword [ebp - 0x4a4], eax
call eax
add esp, 0x1c
push 0x18
call fcn.00443e65
mov esi, eax
add esp, 4
mov dword [ebp - 0x460], esi
mov dword [ebp - 4], 0
call fcn.00402df0
mov ecx, eax
test ecx, ecx
je 0x4b584f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call fcn.004301a0
mov dword [ebp - 4], 0xffffffff
push 0
mov dword [edi + 0x38], esi
push ecx
mov esi, esp
mov dword [ebp - 0x460], esi
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00403870
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, dword [edi + 0x38]
call fcn.004949c0
cmp dword [ebp + 8], 0
push 0xfc
je 0x4b4ed2
call fcn.00443e65
add esp, 4
mov dword [ebp - 0x460], eax
mov dword [ebp - 4], 2
mov ecx, eax
push dword [edi + 0x10]
call fcn.004d8f30
lea ebx, [edi + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x470], ebx
jmp 0x4b4f33
cmp dword [edi + 0x10], 0
jne 0x4b4ef8
call fcn.00443e65
add esp, 4
mov dword [ebp - 0x460], eax
mov dword [ebp - 4], 3
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x44]
push dword [ecx + 4]
jmp 0x4b4f10
call fcn.00443e65
add esp, 4
mov dword [ebp - 0x460], eax
mov dword [ebp - 4], 4
push dword [edi + 0x10]
mov ecx, eax
call fcn.004d8f30
mov edx, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
lea ebx, [edx + ecx]
mov dword [ebp - 0x470], ebx
mov dword [ebx], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
add ecx, 0x60
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x468]
push eax
call fcn.004047c0
mov dword [eax], esi
mov eax, dword [ebx]
test eax, eax
je 0x4b5812
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x4b5812
push eax
call fcn.00494720
test al, al
je 0x4b5812
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
add ecx, 0x60
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x468]
push eax
call fcn.004047c0
lea ebx, [edi + 0x3c]
mov dword [ebp - 0x460], ebx
mov dword [eax], esi
lea eax, [edi + 0x48]
mov ecx, dword [edi + 0x38]
push eax
push ebx
push dword [edi + 0x18]
call fcn.0048cd90
test al, al
je 0x4b5831
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
test eax, eax
je 0x4b5831
mov eax, dword [ebp - 0x470]
lea ecx, [ebp - 0x478]
mov eax, dword [eax]
add eax, 0x14
push eax
call fcn.00412660
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x45c]
mov eax, dword [edi + 0x38]
add eax, 4
push eax
call fcn.0040b2f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x45c]
push dword [edi + 0x14]
call fcn.00432ba0
test al, al
jne 0x4b5035
push str.Failed_to_open_DbEcoReports
push 0x117
push str.MultiCaseRpt::Run
push 0
push 0
push 5
push 6
call dword [ebp - 0x4a4]
add esp, 0x1c
jmp 0x4b5796
push dword [edi + 0x14]
lea ecx, [ebp - 0x45c]
call fcn.00432fa0
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040e1e0
xor edx, edx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x488], edx
mov dword [ebp - 0x4a0], edx
mov dword [ebp - 0x49c], ebx
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x498], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x478]
mov eax, dword [ecx]
mov dword [ebp - 0x46c], eax
cmp eax, ecx
je 0x4b511c
mov esi, dword [ebp - 0x4c0]
mov edx, dword [ebp - 0x4bc]
xor ecx, ecx
sub edx, esi
sar edx, 2
test edx, edx
je 0x4b50b1
mov edi, dword [eax + 0x14]
cmp dword [esi + ecx*4], edi
je 0x4b50f1
inc ecx
cmp ecx, edx
jb 0x4b50a7
cmp ebx, dword [ebp - 0x468]
je 0x4b50c6
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x49c], ebx
jmp 0x4b50eb
lea eax, [ebp - 0x46c]
push eax
push ebx
lea ecx, [ebp - 0x4a0]
call fcn.004099a0
mov eax, dword [ebp - 0x498]
mov ebx, dword [ebp - 0x49c]
mov dword [ebp - 0x468], eax
mov esi, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x46c]
call fcn.00401c60
mov eax, dword [ebp - 0x46c]
cmp eax, dword [ebp - 0x478]
jne 0x4b5093
mov edx, dword [ebp - 0x4a0]
mov edi, dword [ebp - 0x464]
mov dword [ebp - 0x488], edx
sub ebx, edx
sar ebx, 2
test ebx, ebx
je 0x4b5191
xor edi, edi
nop word [eax + eax]
mov esi, dword [edx + edi*4]
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x46c], esi
call fcn.00401c60
push esi
lea ecx, [ebp - 0x478]
call fcn.00407640
mov esi, eax
lea ecx, [esi + 0x1c]
call fcn.0040c470
mov edx, dword [esi + 0x18]
or ecx, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4b5175
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x28
push esi
call fcn.00443e34
mov edx, dword [ebp - 0x488]
inc edi
add esp, 8
cmp edi, ebx
jb 0x4b5130
mov edi, dword [ebp - 0x464]
push dword [ebp + 8]
mov ecx, edi
call fcn.004b3f20
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
sub eax, edx
sar eax, 3
cmp eax, dword [edi + 0x80]
jae 0x4b51b4
mov dword [edi + 0x80], eax
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
xor ecx, ecx
mov dword [ebp - 0x494], 0
xor ebx, ebx
mov dword [ebp - 0x490], ecx
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 4], 0xa
xor esi, esi
mov eax, dword [edi + 0x40]
sub eax, edx
sar eax, 3
test eax, eax
je 0x4b5248
mov edi, dword [ebp - 0x460]
lea eax, [edx + esi*8]
cmp ecx, ebx
je 0x4b521a
mov eax, dword [eax]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x490], ecx
jmp 0x4b5233
push eax
push ecx
lea ecx, [ebp - 0x494]
call fcn.00403f00
mov ebx, dword [ebp - 0x48c]
mov ecx, dword [ebp - 0x490]
mov eax, dword [edi + 4]
inc esi
mov edx, dword [edi]
sub eax, edx
sar eax, 3
cmp esi, eax
jb 0x4b5204
mov edi, dword [ebp - 0x464]
mov esi, dword [ebp - 0x470]
lea eax, [ebp - 0x484]
mov ecx, dword [edi + 0x38]
push 1
push eax
mov edx, dword [esi]
lea eax, [ebp - 0x494]
push eax
add ecx, 4
mov edx, dword [edx + 4]
call fcn.00485960
mov eax, dword [ebp - 0x480]
add esp, 0xc
mov ecx, dword [ebp - 0x484]
xor ebx, ebx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4b531a
nop dword [eax]
push 0
push ecx
push 0
push dword [ecx + ebx*4]
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x4ac]
push dword [esi]
push eax
call fcn.00495340
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x4ac]
test ecx, ecx
je 0x4b52cb
cmp byte [ecx + 0x40c], 0
jne 0x4b52cb
push 0
push 1
push 0
call fcn.0047fe80
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x4a8]
test esi, esi
je 0x4b52fa
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4b52fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4b52fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x480]
inc ebx
mov ecx, dword [ebp - 0x484]
sub eax, ecx
mov esi, dword [ebp - 0x470]
sar eax, 2
cmp ebx, eax
jb 0x4b5290
cmp dword [edi + 0x80], 0
mov dword [ebp - 0x464], 0
jle 0x4b547c
push 0x64
call fcn.00443e65
mov ebx, eax
add esp, 4
mov dword [ebp - 0x46c], ebx
mov byte [ebp - 4], 0xc
push dword [edi + 0x18]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x460], esp
mov dword [ebp - 0x470], esi
mov eax, dword [ebp - 0x4d0]
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [ebp - 0x4cc]
push eax
call fcn.00406310
lea eax, [ebp - 0x4c0]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [esi + 0x10]
call fcn.00406310
mov byte [ebp - 4], 0xe
sub esp, 8
mov esi, esp
mov dword [ebp - 0x4d4], esp
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x4b4], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x4b0], esi
call fcn.00443e65
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0xf
push eax
mov ecx, esi
call fcn.0040cdf0
mov dword [ebp - 0x4b0], 0
push ecx
mov byte [ebp - 4], 0x10
mov esi, esp
mov dword [ebp - 0x4a8], esi
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0xc]
sub eax, 0x10
push eax
call fcn.00403870
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.004d7df0
mov byte [ebp - 4], 0xa
mov esi, eax
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x460], esi
cmp ecx, dword [edi + 0x5c]
je 0x4b5434
mov dword [ecx], esi
add dword [edi + 0x58], 4
jmp 0x4b5444
lea edx, [ebp - 0x460]
push edx
push ecx
lea ecx, [edi + 0x54]
call fcn.004099a0
push 8
call fcn.00443e65
add esp, 4
mov dword [eax + 4], edi
push eax
push 0
push 0x4b5bd0
mov dword [eax], esi
call fcn.0044d973
mov eax, dword [ebp - 0x464]
add esp, 0xc
inc eax
mov dword [ebp - 0x464], eax
cmp eax, dword [edi + 0x80]
jl 0x4b5331
lea ecx, [ebp - 0x45c]
call fcn.004276b0
mov ebx, dword [edi + 0x58]
xor esi, esi
mov ecx, dword [edi + 0x54]
mov eax, ebx
sub eax, ecx
sar eax, 2
test eax, eax
je 0x4b54dd
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x2c]
cmp dword [eax], 0
je 0x4b54c2
nop dword [eax + eax]
push 0x32
call ebx
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x2c]
cmp dword [eax], 0
jne 0x4b54b0
mov ecx, dword [ecx + esi*4]
call fcn.004d8070
mov eax, dword [edi + 0x58]
inc esi
mov ecx, dword [edi + 0x54]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4b54a0
mov ebx, dword [edi + 0x58]
sub ebx, ecx
xor edx, edx
sar ebx, 2
mov dword [ebp - 0x464], edx
test ebx, ebx
je 0x4b55f7
mov ebx, dword [ecx + edx*4]
test ebx, ebx
je 0x4b55dd
mov esi, dword [ebx + 4]
test esi, esi
je 0x4b5531
lea ecx, [esi + 4]
call fcn.00430310
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b5526
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x18
push esi
call fcn.00443e34
add esp, 8
mov esi, dword [ebx + 8]
test esi, esi
je 0x4b5565
lea ecx, [esi + 4]
call fcn.00430310
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b555a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x18
push esi
call fcn.00443e34
add esp, 8
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4b5575
push eax
call fcn.0044d796
add esp, 4
lea ecx, [ebx + 0x44]
call fcn.00401c00
lea ecx, [ebx + 0x38]
call fcn.00401c00
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x30]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.0040d000
push 0x28
push dword [esi]
call fcn.00443e34
add esp, 8
lea ecx, [ebx + 0x20]
call fcn.00401c00
lea ecx, [ebx + 0x14]
call fcn.00401c00
mov edx, dword [ebx]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b55cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x64
push ebx
call fcn.00443e34
mov edx, dword [ebp - 0x464]
add esp, 8
mov eax, dword [edi + 0x58]
inc edx
mov ecx, dword [edi + 0x54]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x464], edx
cmp edx, eax
jb 0x4b54f2
mov ecx, edi
call fcn.004b4210
mov eax, dword [edi + 0x88]
cmp dword [eax], 0
jne 0x4b562e
cmp dword [ebp + 8], 0
jne 0x4b562e
mov eax, dword [edi + 0x8c]
mov dword [eax], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4b562e
push 0
push 0x64
push dword [edi + 0x18]
call fcn.004e23a0
mov ebx, dword [edi + 0x18]
lea eax, [ebp - 0x460]
mov edi, dword [edi + 0xc]
push eax
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x460], ebx
push eax
lea ecx, [edi + 0x60]
call fcn.00402560
mov esi, dword [ebp - 0x498]
cmp byte [esi + 0xd], 0
jne 0x4b568b
cmp ebx, dword [esi + 0x10]
jl 0x4b568b
cmp esi, dword [edi + 0x60]
je 0x4b568b
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x460], esi
call fcn.00401c60
push esi
lea ecx, [edi + 0x60]
call fcn.004048e0
push 0x18
push eax
call fcn.00443e34
add esp, 8
push str.End_report_run
push 0x170
push str.MultiCaseRpt::Run
push 0
push 0
push 4
push 6
call dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x494]
add esp, 0x1c
test edx, edx
je 0x4b56e8
mov ecx, dword [ebp - 0x48c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4b56de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5859
push ecx
push edx
call fcn.00443e34
add esp, 8
mov edx, dword [ebp - 0x484]
test edx, edx
je 0x4b5743
mov ecx, dword [ebp - 0x47c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4b571b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5859
push ecx
push edx
call fcn.00443e34
add esp, 8
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov edx, dword [ebp - 0x488]
test edx, edx
je 0x4b5780
mov ecx, dword [ebp - 0x468]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4b5776
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5859
push ecx
push edx
call fcn.00443e34
add esp, 8
lea ecx, [ebp - 0x4c0]
call fcn.00401c00
lea ecx, [ebp - 0x4cc]
call fcn.00401c00
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
mov dword [ebp - method.DbEcoReports.virtual_0], vtable.DbEcoReports.0
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.0040cfa0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], 0
push dword [eax + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, eax
call fcn.0040cfa0
push 0x30
push dword [ebp - 0x3c]
call fcn.00443e34
add esp, 8
lea ecx, [ebp - 0x45c]
call fcn.004270c0
mov eax, dword [ebp - 0x478]
push dword [eax + 4]
lea eax, [ebp - 0x478]
push eax
mov ecx, eax
call fcn.0040d000
push 0x28
push dword [ebp - 0x478]
call fcn.00443e34
add esp, 8
jmp 0x4b5831
mov eax, dword [edi + 0x8c]
mov dword [eax], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4b5831
push 0
push 0x64
push dword [edi + 0x18]
call fcn.004e23a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443e26
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404320
call fcn.0044d695
int3