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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x490ab2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], 0x4920f4
xor eax, eax
push ebp
push 0x490a59
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd8]
mov eax, dword [eax + 0x10]
call fcn.00408bfc
mov edx, dword [ebp - 0x30]
mov eax, 0x490acc
call fcn.00404d9c
test eax, eax
jle 0x490868
mov ecx, ebx
mov dl, 1
mov eax, dword [0x489b50]
call fcn.00489be0
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd8]
mov edx, dword [eax + 0x34]
mov eax, 0x490adc
call fcn.00408cf0
test al, al
je 0x490942
mov ecx, ebx
mov dl, 1
mov eax, dword [0x472e84]
call fcn.004731d0
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x49093b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x10], 0
jne 0x4908b3
cmp dword [ebp + 0xc], 0
jbe 0x4908c5
jmp 0x4908b5
jle 0x4908c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, esi
mov eax, dword [ebp - 0x24]
call fcn.0041f7f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004920a8
mov eax, dword [ebp - 4]
call fcn.00470544
test al, al
je 0x490900
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x79], 1
jmp 0x4908f7
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x14], 0
je 0x4908ec
mov eax, dword [ebp - 4]
cmp byte [eax + 0xe8], 0
jne 0x490925
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x24]
push dword [eax + 0x20]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov si, 0xffe6
call fcn.00403b98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490a38
mov eax, dword [ebp - 0x24]
call fcn.00403990
ret
cmp dword [ebp + 0x10], 0
jne 0x490950
cmp dword [ebp + 0xc], 0
jbe 0x490961
jmp 0x490952
jle 0x490961
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041f7f0
mov eax, dword [ebp - 4]
call fcn.00490c04
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004920a8
cmp dword [ebp - 0x14], 0
jne 0x49099d
cmp dword [ebp - 0x18], 0
jae 0x4909be
jmp 0x49099f
jge 0x4909be
mov eax, dword [ebp - 4]
call fcn.00470544
test al, al
je 0x490a14
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x78], 1
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x490a14
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
sbb edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
call fcn.00470544
test al, al
je 0x490a14
jmp 0x4909f7
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
sub eax, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x14]
jne 0x490a12
cmp eax, dword [ebp - 0x18]
jb 0x4909ed
jmp 0x490a14
jl 0x4909ed
mov eax, dword [ebp - 4]
cmp byte [eax + 0xe8], 0
jne 0x490a38
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov si, 0xffe6
call fcn.00403b98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490a60
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x28]
call fcn.00403990
ret