Function at 0x4542d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + 0x200]
mov dword [esi + 0x58], eax
mov edx, dword [ecx + 0x204]
mov dword [esi + 0x5c], edx
mov eax, dword [ecx + 0x2d0]
mov dword [esi + 0x68], eax
mov edx, dword [ecx + 0x2d4]
mov dword [esi + 0x6c], edx
mov eax, dword [ecx + 0x158]
push edi
test eax, eax
jbe 0x454327
xor edx, edx
cmp edx, dword [ecx + 0x204]
jg 0x454327
jl 0x45431e
cmp eax, dword [ecx + 0x200]
jae 0x454327
mov dword [esi + 0x64], eax
mov byte [esi + 0x151], dl
cmp dword [esi + 0x6c], 0
jbe 0x454336
mov dword [esi + 0x70], 0x40000
jmp 0x454359
mov edx, dword [esi + 0x60]
test edx, edx
jbe 0x454359
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
mov dword [esi + 0x70], edx
cmp edx, 0x800
jae 0x454359
mov dword [esi + 0x70], 0x800
mov eax, dword [ecx + 0x378]
add eax, 0x30
push eax
lea ecx, [esi + 0x38]
call fcn.0046d290
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x148]
cmp ecx, 1
jne 0x454387
cmp byte [esi + 0x151], 0
jne 0x454387
mov ecx, 3
mov edx, dword [eax + 0x2cc]
mov dword [esi + 0x88], edx
mov eax, dword [eax + 0x14c]
lea ebx, [esi + 0x80]
push ecx
mov ecx, ebx
mov dword [esi + 0x8c], eax
call fcn.00462e60
mov ecx, dword [esi + 0x34]
push 0xffffffffffffffff
add ecx, 0x48
push 1
push ecx
mov ecx, ebx
call fcn.004660e0
mov edi, dword [esi + 0x34]
cmp dword [edi + 0x16c], 0
jne 0x4543d4
cmp dword [edi + 0x18c], 0
jbe 0x454435
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov ebp, eax
call dword [sym.imp.MSVCR90.dll__time64]
mov ecx, eax
mov edi, dword [esi + 0x34]
mov eax, 0x91a2b3c5
mul ebp
shr edx, 0xb
imul edx, edx, 0xe10
mov eax, ebp
sub eax, edx
lea ecx, [ecx + eax + 0xa8c]
add esp, 4
mov dword [esi + 0x84], ecx
cmp dword [edi + 0x18c], 0
jne 0x454432
mov eax, 0x10624dd3
mul ebp
shr edx, 6
imul edx, edx, 0x3e8
sub ebp, edx
cmp ebp, 0xa
setb dl
mov byte [ebx], dl
jmp 0x454435
mov byte [ebx], 0
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x45446f
mov eax, dword [edi + 0x204]
mov edx, dword [edi + 0x200]
push esi
push eax
push edx
call fcn.00469360
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x378]
add ecx, 0x4c
push ecx
mov ecx, dword [esi + 0xb4]
lea edx, [esi + 0x3c]
push edx
call fcn.00468990
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x174], 0
je 0x45450a
mov ecx, dword [eax + 0x204]
mov edx, dword [eax + 0x200]
push ecx
push edx
call fcn.0046d910
add esp, 8
test al, al
je 0x45450a
push 0x50
call fcn.0047bd5c
add esp, 4
test eax, eax
je 0x4544b0
mov ecx, eax
call fcn.00451f70
jmp 0x4544b2
xor eax, eax
mov edx, dword [esi + 0x34]
mov dword [esi + 0xb8], eax
mov ecx, dword [edx + 0x204]
mov edx, dword [edx + 0x200]
push esi
push ecx
push edx
mov ecx, eax
call fcn.00466fd0
mov ecx, dword [esi + 0xb8]
lea eax, [esi + 0x3c]
push eax
call fcn.00466d50
mov ecx, dword [esi + 0xb8]
call fcn.004665d0
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0x74], eax
call fcn.00466610
mov dword [esi + 0x78], eax
mov byte [esi + 0x14f], 1
mov byte [esi + 0x150], 1
cmp dword [esi + 0xb8], 0
jne 0x45459e
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x204]
mov edx, dword [eax + 0x200]
push ecx
push edx
call fcn.0045eeb0
mov ebx, eax
add esp, 8
test ebx, ebx
jle 0x45459e
push 0x20
call fcn.0047bd5c
add esp, 4
test eax, eax
je 0x45454f
mov ecx, eax
call fcn.0045eda0
mov edi, eax
jmp 0x454551
xor edi, edi
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x378]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.0045edb0
test al, al
je 0x45458a
mov eax, dword [esi + 0x34]
mov dword [esi + 0xbc], edi
mov ecx, dword [eax + 0x378]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0xbc]
mov dword [edx], esi
jmp 0x45459e
test edi, edi
je 0x45459e
mov ecx, edi
call fcn.0045fb70
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esi + 0x34]
cmp dword [ecx + 0x3bc], 0
je 0x454721
mov ebx, dword [ecx + 0x378]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx + 0x3bc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push eax
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
add ebx, 0x30
call edx
mov eax, dword [ebx + 0x14]
mov edi, dword [eax]
mov ebp, dword [ebx]
lea ecx, [ecx]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx]
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x454601
cmp ebp, eax
je 0x454607
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x14]
je 0x454708
test ebp, ebp
jne 0x4546e6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x45462c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
test ebp, ebp
jne 0x4546ee
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x454655
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
test ebp, ebp
jne 0x4546f6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x45467e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
jne 0x4546fe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x454695
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x18]
add eax, dword [edi + 8]
mov ecx, dword [edi + 0x1c]
adc ecx, dword [edi + 0xc]
mov edx, dword [esi + 0x34]
sub eax, 1
sbb ecx, 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 0x3bc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
push 0
lea edx, [esp + 0x34]
push edx
push 0
call eax
test ebp, ebp
jne 0x454703
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4546df
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
jmp 0x4545f0
mov eax, dword [ebp]
jmp 0x454621
mov eax, dword [ebp]
jmp 0x45464a
mov eax, dword [ebp]
jmp 0x454673
mov eax, dword [ebp]
jmp 0x45468a
mov eax, dword [ebp]
jmp 0x4546d4
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + 0x3bc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0
lea eax, [esp + 0x1c]
push eax
push 0xfffffffffffffffe
call edx
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x378]
mov edx, dword [ecx + 0x28]
cmp edx, dword [eax + 0x200]
jne 0x454749
mov ecx, dword [ecx + 0x2c]
cmp ecx, dword [eax + 0x204]
jne 0x454749
push 1
mov ecx, esi
call fcn.00453780
push 0x18
call fcn.0047bd5c
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x454789
lea eax, [esi + 0x80]
lea ecx, [edi + 0xc]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi], vtable.CMyTask.0
call fcn.0044c5d0
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esi + 0x134], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
pop edi
xor eax, eax
mov dword [esi + 0x134], eax
pop esi
pop ebp
pop ebx
add esp, 0x38
ret