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

Disassembly:
push 0xffffffffffffffff
push 0x48b50e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
mov eax, dword [0x4abf20]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x320], eax
mov eax, dword [esp + 0x334]
push 0x3ea
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebp, ebp
push ebp
push ebp
push 0x1009
push eax
mov dword [esp + 0x28], eax
call dword [0x4ac12c]
mov edi, dword [esp + 0x338]
mov dword [edi + 0x434], ebp
xor ebx, ebx
mov ecx, dword [edi + 0x414]
cmp ecx, ebp
mov dword [esp + 0x10], ebx
je 0x440243
mov eax, dword [edi + 0x418]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x440243
mov ecx, dword [edi + 0x434]
cmp ecx, ebp
jl 0x44007d
mov edx, dword [edi + 0x414]
cmp edx, ebp
jne 0x44006e
xor eax, eax
jmp 0x440079
mov eax, dword [edi + 0x418]
sub eax, edx
sar eax, 2
cmp ecx, eax
jl 0x440081
xor esi, esi
jmp 0x440093
mov eax, dword [edi + 0x414]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [edi + 0x434], ecx
mov esi, eax
mov ecx, esi
call fcn.00439170
cmp eax, 3
push 0x4001
lea ecx, [esp + 0x70]
push 0x2b4
push ecx
mov ecx, esi
push ebp
jne 0x4401ca
call fcn.00439150
push eax
call dword [0x4ac084]
push 0xa74
call fcn.00484484
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x32c], ebp
je 0x4400e8
mov ecx, eax
call fcn.00438dc0
mov edi, eax
jmp 0x4400ea
xor edi, edi
mov ecx, esi
mov dword [esp + 0x32c], 0xffffffff
mov dword [esp + 0x14], edi
call fcn.00439130
push eax
mov ecx, edi
call fcn.00438e30
mov edx, dword [0x4ad1ec]
cmp edx, ebp
mov ebx, dword [0x4ad1f0]
je 0x44013c
mov ecx, dword [0x4ad1f4]
mov eax, ebx
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x44013c
mov eax, ebx
add eax, 4
mov dword [ebx], edi
mov dword [0x4ad1f0], eax
jmp 0x44014e
lea edx, [esp + 0x14]
push edx
push 1
push ebx
mov ecx, 0x4ad1e8
call fcn.0043e290
mov ecx, dword [esp + 0x10]
xor eax, 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 dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x24], ebp
call fcn.00439150
lea edx, [esp + 0x1c]
push edx
push ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
push 0x104d
push eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], edi
call dword [0x4ac12c]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x338]
inc ebx
jmp 0x440031
call fcn.00439110
push eax
call dword [0x4ac084]
mov ecx, esi
call fcn.00439110
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x68], edx
push ebp
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
push 0x104d
push edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebp
call dword [0x4ac12c]
inc ebx
jmp 0x440031
mov eax, dword [esp + 0x334]
push eax
call fcn.0043cd80
mov ecx, dword [esp + 0x328]
add esp, 4
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x314]
pop ebx
call fcn.00484547
add esp, 0x320
ret