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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f8e5c
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x1e4]
push esi
mov dword [esp + 0x60], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x110], 0
lea edx, [edi + 8]
mov eax, dword [edi + 0x150]
lea ecx, [edi + 0x180]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x158]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x15c]
mov ebx, dword [edi + 0x154]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x160]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x164]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x168]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x16c]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x170]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x174]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x178]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x17c]
mov dword [esp + 0x3c], eax
mov al, byte [edi + 0x14a]
mov byte [esp + 0x13], al
lea eax, [esp + 0x15]
push eax
mov dword [esp + 0x44], ebx
call fcn.004c9f30
lea ecx, [esp + 0x14]
push ecx
lea edx, [edi + 0x14]
lea ecx, [edi + 0x198]
call fcn.004c9f30
lea ecx, [esp + 0x16]
lea eax, [edi + 0x20]
push ecx
lea ecx, [edi + 0x18c]
mov edx, eax
call fcn.004c9f30
mov al, byte [edi + 0x1a4]
cmp byte [edi + 0x2c], al
je 0x4ca1c0
mov byte [esp + 0x14], 1
mov byte [edi + 0x2c], al
jmp 0x4ca1c8
mov al, byte [esp + 0x14]
mov byte [esp + 0x14], al
mov eax, dword [edi + 0x1ac]
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x114], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x5c], eax
je 0x4ca209
mov esi, dword [esp + 0x38]
mov ecx, ebx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x4c]
jmp 0x4ca21d
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
mov eax, esi
mov dword [esp + 0x18], edx
and eax, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], esi
cmp eax, 0xffffffff
je 0x4ca26f
mov eax, dword [edi + 0xa0]
or eax, dword [edi + 0xa4]
jne 0x4ca25a
mov eax, ebx
or eax, edx
jne 0x4ca25a
mov eax, dword [edi + 0xa8]
or eax, dword [edi + 0xac]
jne 0x4ca26f
mov eax, esi
or eax, ecx
je 0x4ca26f
push ecx
push esi
mov ecx, edi
call fcn.004c9bf0
push dword [esp + 0x18]
mov ecx, edi
push ebx
call fcn.004c9c80
mov edx, dword [esp + 0x38]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esp + 0x40]
cmp edx, dword [edi + 0xe8]
jne 0x4ca28d
cmp ecx, dword [edi + 0xec]
je 0x4ca2c3
xor eax, eax
mov dword [edi + 0xe8], edx
mov word [esp + 0x7c], ax
mov eax, edx
and eax, ecx
mov dword [edi + 0xec], ecx
cmp eax, 0xffffffff
je 0x4ca2b7
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.004c9e30
lea eax, [esp + 0x7c]
push eax
push 0x7a
push dword [edi + 4]
call ebx
mov ecx, dword [esp + 0x5c]
mov eax, ecx
sub eax, dword [edi + 0xc4]
add dword [edi + 0xc8], eax
push 0
adc dword [edi + 0xcc], 0
push 0x3e8
push dword [edi + 0xcc]
mov dword [edi + 0xc4], ecx
push dword [edi + 0xc8]
call fcn.004eaa00
xor cl, cl
cmp eax, dword [edi + 0xd8]
jne 0x4ca30c
cmp edx, dword [edi + 0xdc]
je 0x4ca33b
push edx
push eax
lea ecx, [esp + 0x84]
mov dword [edi + 0xd8], eax
mov dword [edi + 0xdc], edx
mov byte [esp + 0x1b], 1
call fcn.004c9d50
lea eax, [esp + 0x7c]
push eax
push 0x78
push dword [edi + 4]
call ebx
mov cl, byte [esp + 0x13]
mov byte [esp + 0x13], 0
test cl, cl
jne 0x4ca34d
cmp byte [ebp + 8], cl
je 0x4ca8ef
mov eax, dword [esp + 0x28]
cmp eax, dword [edi + 0x12c]
jbe 0x4ca3d2
mov ecx, edi
call fcn.004cb6a0
push 0
push dword [esp + 0x2c]
lea ecx, [esp + 0x84]
call fcn.004110f0
lea eax, [esp + 0x7c]
push eax
push 0x7e
push dword [edi + 4]
call ebx
cmp byte [edi + 0x134], 0
jne 0x4ca3d2
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xf42
push dword [edi + 4]
mov byte [edi + 0x134], 1
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
push 0x7e
push dword [edi + 4]
call ebx
push 5
push eax
call esi
push 0x65
push dword [edi + 4]
call ebx
push 5
push eax
call esi
mov ecx, edi
call fcn.004c9060
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov edx, dword [esp + 0x18]
or eax, edx
je 0x4ca5e1
mov edx, dword [esp + 0x24]
mov eax, esi
and eax, edx
cmp eax, 0xffffffff
jne 0x4ca421
mov eax, dword [edi + 0xe0]
and eax, dword [edi + 0xe4]
cmp eax, 0xffffffff
je 0x4ca4a5
mov dword [edi + 0xe0], 0xffffffff
mov dword [edi + 0xe4], 0xffffffff
push 0x501180
jmp 0x4ca49e
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
cmp eax, edx
ja 0x4ca459
jb 0x4ca438
cmp ecx, esi
jae 0x4ca459
push eax
push ecx
mov ecx, esi
sub ecx, dword [esp + 0x24]
sbb edx, dword [esp + 0x20]
push edx
push ecx
push dword [edi + 0xcc]
push dword [edi + 0xc8]
call fcn.004c9fa0
jmp 0x4ca461
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push 0
push 0x3e8
push edx
push eax
call fcn.004eaa00
cmp eax, dword [edi + 0xe0]
jne 0x4ca47f
cmp edx, dword [edi + 0xe4]
je 0x4ca4a5
push edx
push eax
lea ecx, [esp + 0x84]
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], edx
call fcn.004c9d50
lea eax, [esp + 0x7c]
push eax
push 0x79
push dword [edi + 4]
call ebx
mov esi, dword [edi + 0xc8]
mov eax, esi
mov ecx, dword [edi + 0xcc]
or eax, ecx
mov dword [esp + 0x28], ecx
jne 0x4ca4c2
lea esi, [eax + 1]
mov dword [esp + 0x28], eax
push 0
push 0x3e8
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.004e6eb0
push dword [esp + 0x28]
push esi
push edx
push eax
call fcn.004eaa00
xor esi, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov byte [esp + 0x17], 0
test edx, edx
jne 0x4ca513
cmp eax, 0x9c4000
jae 0x4ca513
test edx, edx
jne 0x4ca507
cmp eax, 0x2710
jb 0x4ca51d
mov esi, 0xa
mov byte [esp + 0x17], 0x4b
jmp 0x4ca51d
mov esi, 0x14
mov byte [esp + 0x17], 0x4d
movq xmm1, qword [esp + 0x5c]
movd xmm0, esi
psrlq xmm1, xmm0
movq qword [esp + 0x5c], xmm1
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
cmp esi, dword [edi + 0x114]
jne 0x4ca555
cmp ecx, dword [edi + 0x118]
jne 0x4ca555
cmp eax, dword [edi + 0x11c]
je 0x4ca5d9
push eax
mov dword [edi + 0x118], ecx
push ecx
lea ecx, [esp + 0x84]
mov dword [edi + 0x114], esi
mov dword [edi + 0x11c], eax
call fcn.004110f0
xor eax, eax
cmp word [esp + 0x7c], ax
je 0x4ca589
mov edi, edi
inc eax
cmp word [esp + eax*2 + 0x7c], 0
jne 0x4ca580
mov ecx, 0x20
mov word [esp + eax*2 + 0x7c], cx
lea ecx, [eax + 1]
test esi, esi
je 0x4ca5a7
mov al, byte [esp + 0x17]
movzx eax, al
mov word [esp + ecx*2 + 0x7c], ax
inc ecx
mov dword [esp + ecx*2 + 0x7c], 0x2f0042
mov eax, 0x73
mov word [esp + ecx*2 + 0x80], ax
add ecx, 3
add ecx, ecx
cmp ecx, 0x50
jae 0x4ca61a
xor eax, eax
mov word [esp + ecx + 0x7c], ax
lea eax, [esp + 0x7c]
push eax
push 0x7b
push dword [edi + 4]
call ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
xorps xmm0, xmm0
mov eax, esi
movlpd qword [esp + 0x5c], xmm0
and eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x4ca61f
push 0
push 0x64
push edx
push ecx
call fcn.004e6eb0
mov ecx, esi
or ecx, dword [esp + 0x24]
je 0x4ca627
push dword [esp + 0x24]
push esi
push edx
push eax
call fcn.004eaa00
jmp 0x4ca627
call fcn.004e01cc
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
cmp eax, dword [edi + 0xd0]
jne 0x4ca637
cmp edx, dword [edi + 0xd4]
je 0x4ca648
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], edx
mov byte [esp + 0x13], 1
push dword [esp + 0x58]
lea ecx, [esp + 0x80]
push dword [esp + 0x4c]
call fcn.004110f0
mov esi, dword [esp + 0x54]
mov eax, esi
and eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x4ca6cd
xor eax, eax
cmp word [esp + 0x7c], ax
je 0x4ca67d
inc eax
cmp word [esp + eax*2 + 0x7c], 0
jne 0x4ca674
add eax, eax
lea edx, [esp + 0x7c]
mov ecx, 0x506468
sub eax, ecx
add edx, eax
lea esp, [esp]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4ca690
xor eax, eax
cmp word [esp + 0x7c], ax
je 0x4ca6b9
lea esp, [esp]
inc eax
cmp word [esp + eax*2 + 0x7c], 0
jne 0x4ca6b0
push dword [esp + 0x34]
lea ecx, [esp + 0x80]
lea ecx, [ecx + eax*2]
push esi
call fcn.004110f0
mov eax, dword [edi + 0x108]
lea ecx, [esp + 0x7c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4ca6fd
test dx, dx
je 0x4ca6f9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4ca6fd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4ca6d7
xor eax, eax
jmp 0x4ca702
sbb eax, eax
or eax, 1
test eax, eax
je 0x4ca722
lea eax, [esp + 0x7c]
push eax
lea ecx, [edi + 0x108]
call fcn.00412850
lea eax, [esp + 0x7c]
push eax
push 0x6f
push dword [edi + 4]
call ebx
mov al, byte [edi + 0x200]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
test al, al
je 0x4ca73e
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
jmp 0x4ca742
mov ebx, edx
mov esi, ecx
test al, al
jne 0x4ca756
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
mov eax, edx
and eax, ecx
cmp eax, 0xffffffff
jne 0x4ca7c8
mov eax, ebx
and eax, esi
cmp eax, 0xffffffff
jne 0x4ca7c8
lea eax, [edi + 0xf0]
mov ecx, edi
push eax
push dword [esp + 0x48]
push dword [esp + 0x54]
push 0x7c
call fcn.004c9ec0
cmp dword [edi + 0xf8], 0xffffffff
jne 0x4ca796
cmp dword [edi + 0xfc], 0xffffffff
je 0x4ca8e2
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor eax, eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7c]
push eax
push 0x6e
mov dword [edi + 0xf8], 0xffffffff
mov dword [edi + 0xfc], 0xffffffff
push dword [edi + 4]
call ebx
jmp 0x4ca8e8
cmp edx, dword [edi + 0xf0]
jne 0x4ca7d8
cmp ecx, dword [edi + 0xf4]
je 0x4ca812
xor eax, eax
mov dword [edi + 0xf0], edx
mov word [esp + 0x7c], ax
mov eax, edx
and eax, ecx
mov dword [edi + 0xf4], ecx
cmp eax, 0xffffffff
je 0x4ca802
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.004c9e30
lea eax, [esp + 0x7c]
push eax
push 0x7c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp ebx, dword [edi + 0xf8]
jne 0x4ca822
cmp esi, dword [edi + 0xfc]
je 0x4ca85c
xor eax, eax
mov dword [edi + 0xf8], ebx
mov word [esp + 0x7c], ax
mov eax, ebx
and eax, esi
mov dword [edi + 0xfc], esi
cmp eax, 0xffffffff
je 0x4ca84c
push esi
push ebx
lea ecx, [esp + 0x84]
call fcn.004c9e30
lea eax, [esp + 0x7c]
push eax
push 0x6e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, ebx
and eax, esi
cmp eax, 0xffffffff
je 0x4ca8e2
mov edx, dword [esp + 0x20]
mov eax, edx
mov ecx, dword [esp + 0x2c]
and eax, ecx
cmp eax, 0xffffffff
je 0x4ca8e2
mov eax, edx
or eax, ecx
je 0x4ca8e2
push 0
push 0x64
push esi
push ebx
call fcn.004e6eb0
push dword [esp + 0x2c]
push dword [esp + 0x24]
push edx
push eax
call fcn.004eaa00
cmp dword [edi + 0x100], eax
jne 0x4ca8a6
cmp dword [edi + 0x104], edx
je 0x4ca8e2
push edx
push eax
lea ecx, [esp + 0x84]
mov dword [edi + 0x100], eax
mov dword [edi + 0x104], edx
call fcn.004110f0
mov edx, 0x50661c
lea ecx, [esp + 0x7c]
call fcn.004c7da0
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea eax, [esp + 0x7c]
push eax
push 0x7d
push dword [edi + 4]
call ebx
jmp 0x4ca8e8
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [esp + 0x13], 0
jne 0x4ca8f6
cmp byte [esp + 0x15], 0
je 0x4ca8fd
mov ecx, edi
call fcn.004cafd0
cmp byte [esp + 0x16], 0
je 0x4ca95c
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
lea esi, [edi + 0x20]
movq qword [esp + 0x70], xmm0
push esi
lea ecx, [esp + 0x74]
call fcn.00412780
mov dword [esp + 0x110], 1
lea ecx, [esp + 0x70]
mov edx, dword [edi + 0x124]
call fcn.004c90d0
push dword [esi]
push 0x67
push dword [edi + 4]
call ebx
mov dword [esp + 0x110], 0xffffffff
push dword [esp + 0x70]
call fcn.004df97b
add esp, 4
cmp byte [esp + 0x14], 0
je 0x4cab04
xorps xmm0, xmm0
mov dword [esp + 0x64], 0
movq qword [esp + 0x5c], xmm0
push 8
mov dword [esp + 0x60], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4ca9a1
mov byte [esp + 0x16], al
lea eax, [esp + 0x16]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 3
mov word [eax], cx
mov dword [esp + 0x110], 2
xorps xmm0, xmm0
movq qword [esp + 0x70], xmm0
push 8
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x74], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4ca9f7
mov byte [esp + 0x15], al
lea eax, [esp + 0x15]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 3
mov word [eax], cx
mov byte [esp + 0x110], 3
lea ecx, [edi + 0x14]
cmp byte [edi + 0x2c], 0
je 0x4caa28
push ecx
lea ecx, [esp + 0x60]
jmp 0x4caa60
call fcn.00412d20
mov esi, eax
test esi, esi
js 0x4caa58
lea ecx, [esi + 1]
push ecx
push dword [edi + 0x14]
lea ecx, [esp + 0x64]
call fcn.00412960
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x70]
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.00412850
jmp 0x4caa65
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x74]
call fcn.004128e0
mov edx, dword [edi + 0x124]
lea ecx, [esp + 0x5c]
call fcn.004c90d0
mov edx, dword [edi + 0x124]
lea ecx, [esp + 0x70]
call fcn.004c90d0
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x64], edx
jne 0x4caaa8
mov eax, edx
lea ecx, [esp + 0x5c]
shr eax, 1
add edx, 0x10
add eax, edx
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov eax, 0xa
mov word [ecx + edx*2], ax
lea eax, [edx + 1]
xor edx, edx
mov dword [esp + 0x60], eax
mov word [ecx + eax*2], dx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x60]
call fcn.00412bd0
mov esi, dword [esp + 0x5c]
push esi
push 0x66
push dword [edi + 4]
call ebx
mov byte [esp + 0x110], 2
push dword [esp + 0x70]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x110], 0xffffffff
push esi
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 4