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

Disassembly:
push 0xffffffffffffffff
push 0x807398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0xc]
push 1
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.004d2170
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x34], 0
call dword [edx + 0x10]
test eax, eax
je 0x4ec89e
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esi + 0x78], 1
call dword [edx + 0x10]
mov ecx, eax
call fcn.0061e220
mov edi, eax
lea ebx, [esi + 0x53c]
mov byte [esp + 0x34], 1
cmp ebx, edi
je 0x4ec5a9
mov ebp, dword [edi + 4]
test ebp, ebp
jne 0x4ec4df
xor edx, edx
jmp 0x4ec4e7
mov edx, dword [edi + 8]
sub edx, ebp
sar edx, 2
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4ec4f2
xor eax, eax
jmp 0x4ec4fa
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
ja 0x4ec521
mov eax, dword [edi + 8]
push ecx
push eax
push ebp
call fcn.005b89c0
add esp, 0xc
mov ecx, edi
call fcn.00528c90
mov ecx, dword [ebx + 4]
lea edx, [ecx + eax*4]
mov dword [ebx + 8], edx
jmp 0x4ec5a9
mov ecx, ebx
call fcn.00781620
mov ecx, edi
mov ebp, eax
call fcn.00528c90
cmp eax, ebp
ja 0x4ec56b
mov ebp, dword [edi + 4]
mov ecx, ebx
call fcn.00528c90
mov ecx, dword [ebx + 4]
lea eax, [ebp + eax*4]
push ecx
push eax
push ebp
mov dword [esp + 0x1c], eax
call fcn.005b89c0
mov edx, dword [ebx + 8]
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, ebx
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004c11e0
jmp 0x4ec50c
mov eax, dword [ebx + 4]
push eax
call fcn.007d7349
add esp, 4
mov ecx, edi
call fcn.00528c90
test eax, eax
jge 0x4ec584
xor eax, eax
shl eax, 2
push eax
call fcn.007d7320
add esp, 4
mov dword [ebx + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.004c11e0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x34], 0
push ecx
call fcn.007d7349
mov edx, dword [esi]
add esp, 4
mov ecx, esi
call dword [edx + 0xb4]
mov edi, eax
lea ebp, [esi + 0xcc]
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebp
call fcn.00419a20
mov al, byte [edi + 0x14]
mov byte [ebp + 0x14], al
mov cl, byte [edi + 0x15]
mov byte [ebp + 0x15], cl
mov dl, byte [edi + 0x18]
mov byte [ebp + 0x18], dl
mov al, byte [edi + 0x19]
mov byte [ebp + 0x19], al
mov cl, byte [edi + 0x1a]
mov byte [ebp + 0x1a], cl
mov dl, byte [edi + 0x1b]
mov byte [ebp + 0x1b], dl
mov al, byte [edi + 0x1c]
mov byte [ebp + 0x1c], al
mov cl, byte [edi + 0x1d]
mov byte [ebp + 0x1d], cl
mov dl, byte [edi + 0x1e]
lea eax, [edi + 0x20]
lea ecx, [ebp + 0x20]
push eax
mov byte [ebp + 0x1e], dl
call fcn.004594e0
add edi, 0x38
lea ecx, [ebp + 0x38]
push edi
call fcn.00459670
mov edx, dword [esi]
lea eax, [esi + 0x120]
push eax
mov ecx, esi
call dword [edx + 0x94]
mov edx, dword [esi]
mov byte [esi + 0x11c], al
lea eax, [esi + 0x138]
mov ecx, esi
push eax
call dword [edx + 0xa4]
mov byte [esi + 0x134], al
mov al, byte [esp + 0x3c]
test al, al
je 0x4ec69a
mov edi, dword [ebx + 4]
mov dl, 1
xor ecx, ecx
test edi, edi
je 0x4ec7fe
mov eax, dword [ebx + 8]
sub eax, edi
sar eax, 2
cmp ecx, eax
jae 0x4ec7fe
test dl, dl
je 0x4ec87e
mov eax, dword [esi + 0x540]
mov ebp, dword [esi + 0x538]
cmp ebp, dword [eax + ecx*4]
jne 0x4ec697
xor dl, dl
inc ecx
jmp 0x4ec664
mov cl, byte [esi + 0xe7]
mov dl, byte [esi + 0xe8]
mov al, byte [esi + 0xe9]
mov byte [esi + 0x54c], cl
lea ecx, [esi + 0x284]
mov byte [esi + 0x54d], dl
sub esp, 0x10
mov byte [esi + 0x54e], al
lea edx, [ecx + 0x14]
mov eax, esp
sub esp, 0x10
mov edi, dword [edx]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [ecx + 4]
mov edx, esp
mov edi, dword [eax]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov dword [edx + 8], edi
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
lea edx, [esp + 0x3c]
push edx
call fcn.004fdc90
lea ecx, [esi + 0x2b4]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
lea eax, [ecx + 0x14]
mov edi, dword [ecx + 0x14]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov dword [edx + 8], edi
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
lea edx, [ecx + 4]
mov eax, esp
mov edi, dword [edx]
mov dword [eax], edi
mov edi, dword [edx + 4]
mov dword [eax + 4], edi
mov edi, dword [edx + 8]
mov dword [eax + 8], edi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x3c]
push eax
call fcn.004fdc90
mov ecx, dword [esi + 0x304]
xor edi, edi
push edi
push edi
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x951210
lea ecx, [esi + 0x36c]
call fcn.007d777e
lea edx, [esi + 0x444]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.007a4753
mov ecx, dword [esi + 0x464]
mov byte [esp + 0x34], 2
cmp ecx, edi
je 0x4ec7ce
mov al, byte [esi + 0x468]
test al, al
je 0x4ec7c8
mov al, byte [esi + 0x469]
test al, al
je 0x4ec7be
cmp ecx, edi
je 0x4ec7c8
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x4ec7c8
cmp ecx, edi
je 0x4ec7c8
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x464], edi
lea ecx, [esp + 0x1c]
mov dword [esi + 0x464], edi
mov byte [esi + 0x469], 0
mov byte [esi + 0x468], 1
mov byte [esp + 0x34], 0
call fcn.007a478f
push edi
lea ecx, [esi + 0x370]
call fcn.004bf080
jmp 0x4ec802
test dl, dl
je 0x4ec87e
mov eax, dword [esi]
mov ebx, dword [esi - 0x84]
lea edi, [esi - 0x84]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, eax
call fcn.0061e370
push eax
mov ecx, edi
call dword [ebx + 0xf0]
mov al, byte [esi + 0xe6]
cmp al, 2
jne 0x4ec833
push 0
jmp 0x4ec874
cmp al, 3
jne 0x4ec845
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0xf0]
jmp 0x4ec87e
cmp al, 4
jne 0x4ec84d
push 2
jmp 0x4ec874
cmp al, 5
jne 0x4ec85f
mov eax, dword [edi]
push 4
mov ecx, edi
call dword [eax + 0xf0]
jmp 0x4ec87e
cmp al, 1
jne 0x4ec87e
mov al, byte [esi + 0x134]
test al, al
je 0x4ec87e
mov eax, dword [esi + 0x138]
push eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf0]
mov al, byte [esi + 0x13c]
test al, al
je 0x4ec89a
mov edx, dword [esi - 0x84]
lea ecx, [esi - 0x84]
call dword [edx + 0xf8]
mov byte [esi + 0x79], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.004d21a0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4