Function at 0x4903fc
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 0x4906d6
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], 0x491d18
xor eax, eax
push ebp
push 0x49067d
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.00408bec
mov edx, dword [ebp - 0x30]
mov eax, 0x4906f0
call fcn.00404d9c
test eax, eax
jle 0x49048c
mov ecx, ebx
mov dl, 1
mov eax, dword [0x489774]
call fcn.00489804
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, 0x490700
call fcn.00408ce0
test al, al
je 0x490566
mov ecx, ebx
mov dl, 1
mov eax, dword [0x472958]
call fcn.00472ca4
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x49055f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x10], 0
jne 0x4904d7
cmp dword [ebp + 0xc], 0
jbe 0x4904e9
jmp 0x4904d9
jle 0x4904e9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, esi
mov eax, dword [ebp - 0x24]
call fcn.0041f7ac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00491ccc
mov eax, dword [ebp - 4]
call fcn.00470018
test al, al
je 0x490524
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x79], 1
jmp 0x49051b
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 0x490510
mov eax, dword [ebp - 4]
cmp byte [eax + 0xe8], 0
jne 0x490549
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 0x49065c
mov eax, dword [ebp - 0x24]
call fcn.00403990
ret
cmp dword [ebp + 0x10], 0
jne 0x490574
cmp dword [ebp + 0xc], 0
jbe 0x490585
jmp 0x490576
jle 0x490585
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041f7ac
mov eax, dword [ebp - 4]
call fcn.00490828
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.00491ccc
cmp dword [ebp - 0x14], 0
jne 0x4905c1
cmp dword [ebp - 0x18], 0
jae 0x4905e2
jmp 0x4905c3
jge 0x4905e2
mov eax, dword [ebp - 4]
call fcn.00470018
test al, al
je 0x490638
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 0x490638
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.00470018
test al, al
je 0x490638
jmp 0x49061b
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 0x490636
cmp eax, dword [ebp - 0x18]
jb 0x490611
jmp 0x490638
jl 0x490611
mov eax, dword [ebp - 4]
cmp byte [eax + 0xe8], 0
jne 0x49065c
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 0x490684
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