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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x84
test eax, eax
push ebp
push esi
push edi
mov esi, ecx
jne 0x49d4d2
pop edi
pop esi
xor ax, ax
pop ebp
add esp, 0x84
ret 0x1c
push eax
call fcn.00485500
add esp, 4
mov dword [esp + 0x30], eax
inc eax
mov ecx, esi
push eax
call fcn.0049d960
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x34], ebp
jne 0x49d501
pop edi
pop esi
xor ax, ax
pop ebp
add esp, 0x84
ret 0x1c
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x49d517
push eax
call fcn.00485500
add esp, 4
jmp 0x49d51e
mov ecx, esi
call fcn.00486d80
push eax
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00488bf0
push 0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0048f6b0
mov edi, eax
test edi, edi
jne 0x49d54c
pop edi
pop esi
xor ax, ax
pop ebp
add esp, 0x84
ret 0x1c
push edi
push ebp
call fcn.00494a30
add esp, 8
test eax, eax
je 0x49d566
mov ebp, edi
mov dword [esp + 0xc], 1
jmp 0x49d573
push ebp
call fcn.0049d940
add esp, 4
mov dword [esp + 0xc], eax
test ebp, ebp
push ebx
mov dword [esp + 0x30], 0
je 0x49d92a
mov ecx, dword [esp + 0x28]
push ebp
push ecx
call fcn.00494a30
add esp, 8
test eax, eax
jne 0x49d92a
lea ecx, [esi + 0xb0]
push ebp
call fcn.00485250
mov edi, eax
mov eax, dword [esi + 0x394]
test eax, eax
mov dword [esp + 0x2c], edi
je 0x49d5d1
mov edx, dword [edi + 0x10]
push edx
call fcn.00485500
push eax
lea eax, [esi + 0x3a8]
push eax
call fcn.004871f0
add esp, 0xc
jmp 0x49d5d3
mov eax, ebp
push eax
call fcn.004879e0
add esp, 4
test ax, ax
je 0x49d901
mov eax, dword [esi + 0x394]
test eax, eax
je 0x49d61b
push ebp
call fcn.00433030
xor ecx, ecx
and eax, 0xffff
mov cx, word [esi + 0x3bc]
add esp, 4
sub eax, ecx
xor ecx, ecx
mov cx, word [esi + 0x3ba]
cdq
idiv ecx
mov word [esi + 0x3b6], dx
mov ebx, dword [edi + 8]
push 1
push edi
mov edi, dword [esp + 0xa0]
lea edx, [esp + 0x44]
push edi
push edx
mov ecx, esi
call fcn.0049dbb0
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push 1
push ecx
push edx
push edi
mov ecx, esi
call dword [eax + 0x4c]
cmp word [esp + 0x3c], 0
jne 0x49d68c
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jg 0x49d663
push edi
jmp 0x49d7e5
mov edx, dword [esp + 0x78]
push 0
push edx
call fcn.00412550
mov edi, eax
mov eax, dword [esp + 0x88]
push 0
push eax
add edi, ebx
call fcn.00412550
add esp, 0x10
add ebx, eax
jmp 0x49d715
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
cmp ecx, eax
jg 0x49d6a6
lea edx, [esp + 0x3c]
push edi
push edx
jmp 0x49d7ea
mov eax, dword [esp + 0x7c]
push 0
push eax
call fcn.00412550
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
push 0
push edx
lea edi, [ecx + ebx]
sub edi, eax
call fcn.00412550
mov ecx, dword [esp + 0x50]
add esp, 0x10
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x78]
add ebx, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x74], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
sub ecx, eax
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebp
call fcn.00490a60
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
sub ecx, eax
add esp, 0xc
cmp edi, ecx
jge 0x49d8ed
mov ecx, dword [esp + 0x34]
lea edx, [eax + ebx]
cmp edx, ecx
jle 0x49d8ed
test edi, edi
jge 0x49d74f
xor edi, edi
cmp ebx, edi
jge 0x49d755
mov ebx, edi
cmp ebp, dword [esp + 0x38]
je 0x49d75f
add eax, edi
jmp 0x49d7a4
mov edx, ecx
sub edx, eax
cmp ebx, edx
jg 0x49d798
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, esi
call fcn.0049dc10
push ebp
lea ecx, [esi + 0xb0]
call fcn.00485270
mov eax, dword [esp + 0x10]
mov ecx, eax
inc eax
mov dword [esp + 0x10], eax
push ecx
jmp 0x49d919
add eax, edi
push ecx
push eax
call fcn.00412550
add esp, 8
push eax
mov ecx, esi
call fcn.00486d60
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
cmp ebp, eax
je 0x49d7cd
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
lea eax, [edx + ebx]
cmp eax, ecx
jge 0x49d7ca
push eax
jmp 0x49d815
push ecx
jmp 0x49d828
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, eax
sub edx, ecx
cmp edi, edx
jl 0x49d80e
mov eax, dword [esp + 0x98]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0049dc10
push ebp
lea ecx, [esi + 0xb0]
call fcn.00485270
mov eax, dword [esp + 0x10]
mov ecx, eax
inc eax
mov dword [esp + 0x10], eax
push ecx
jmp 0x49d919
add ebx, ecx
cmp ebx, eax
jge 0x49d827
push ebx
mov ecx, esi
call fcn.00486d40
push eax
call fcn.00481a40
add esp, 4
jmp 0x49d82f
push eax
mov ecx, esi
call fcn.00486d60
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov edx, dword [edi + 0x24]
mov eax, dword [ebx + 0x10]
cmp edx, eax
jne 0x49d852
mov ax, word [edi + 0x28]
cmp ax, word [ebx + 0xc]
je 0x49d872
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebx
mov ecx, esi
call fcn.0049d1c0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x24], eax
mov cx, word [ebx + 0xc]
mov word [edi + 0x28], cx
mov edi, dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.004af6d0
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x49d89f
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x3c]
push edx
push ecx
mov ecx, esi
call eax
test ax, ax
je 0x49d8f4
cmp edi, dword [esp + 0x14]
je 0x49d8f4
cmp word [ebx + 0xe], 0
je 0x49d8b5
mov eax, dword [0x655b7c]
test eax, eax
jne 0x49d8f4
push edi
mov ecx, esi
call fcn.004af6d0
mov edx, dword [esp + 0xac]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, esi
call dword [esp + 0xac]
test ax, ax
mov dword [esp + 0x30], eax
jne 0x49d8f4
push edi
call fcn.00481a40
add esp, 4
mov dword [esp + 0x18], eax
mov edi, eax
jmp 0x49d89f
mov ebx, dword [esp + 0x98]
lea ecx, [esp + 0x3c]
push ebx
push ecx
mov ecx, esi
call fcn.0049dc10
push ebp
lea ecx, [esi + 0xb0]
call fcn.00485270
mov ecx, dword [esp + 0x10]
mov eax, ecx
inc ecx
mov dword [esp + 0x10], ecx
push eax
mov ecx, esi
call fcn.0048f6b0
mov ebp, eax
test ebp, ebp
jne 0x49d584
mov ax, word [esp + 0x30]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x84
ret 0x1c