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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49f983
sub esp, 0x74
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov ecx, 1
mov byte [esp + 0x2b], cl
mov ecx, 1
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0x54]
jmp 0x49f4d7
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x50], eax
mov edi, edx
mov esi, dword [esp + 0x6c]
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2a], bl
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x50]
sub edi, eax
cmp edi, 0xc
jle 0x49f88f
test esi, esi
je 0x49f85d
mov dword [esp + 0x38], edi
movzx edi, byte [esp + 0x2b]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x49f554
mov dword [esp + 0x70], esi
mov esi, dword [ecx + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x18], edi
call fcn.004a0780
mov eax, dword [esp + 0x70]
lea esi, [eax - 1]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x6c], esi
mov edi, dword [ecx + 0xc]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x18], esi
call fcn.004a03d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, 2
jne 0x49f5b5
mov dword [esp + 0x30], ecx
nop
mov ebx, dword [esp + 0x4c]
lea ebp, [ebx - 1]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
mov edx, eax
jmp 0x49f901
movzx ebx, byte [esp + 0x2b]
test bl, bl
mov dword [esp + 0x68], ecx
je 0x49f637
movzx ebp, byte [esp + 0x2a]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49f63c
cmp eax, 1
jne 0x49f63c
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x18], edi
call fcn.004a0020
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x49f8c0
mov ecx, dword [esp + 0x68]
movzx ebx, byte [esp + 0x2b]
movzx ebp, byte [esp + 0x2a]
jmp 0x49f63c
movzx ebp, byte [esp + 0x2a]
mov esi, dword [esp + 0x50]
test esi, esi
jle 0x49f6ac
lea eax, [esi - 1]
mov edi, dword [esp + 0x80]
cmp edi, eax
jbe 0x49f8cd
mov ebx, dword [esp + 0x7c]
lea edx, [ebx + esi*8 - 8]
cmp edi, ecx
jbe 0x49f8c4
mov eax, dword [esp + 0x94]
mov ebp, dword [eax]
mov esi, dword [edx]
mov edi, dword [edx + 4]
lea edx, [ebx + ecx*8]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov edx, eax
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
setge al
mov ecx, dword [esp + 0x68]
movzx ebx, byte [esp + 0x2b]
movzx ebp, byte [esp + 0x2a]
mov esi, dword [esp + 0x50]
jmp 0x49f6ae
xor eax, eax
test al, al
je 0x49f711
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x18]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], ecx
call fcn.0049fdf0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
movzx ecx, byte [esp + 0x2b]
movzx ebx, byte [esp + 0x2a]
jmp 0x49f49d
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x1c]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], ecx
call fcn.0049f990
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x50]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x4c]
mov ebp, ebx
sub ebx, edx
movzx esi, byte [esp + 0x24]
xchg esi, eax
mov byte [esp + 0x2a], al
xchg esi, eax
mov edi, dword [esp + 0x38]
sar edi, 3
mov dword [esp + 0x48], edi
cmp ebx, eax
jle 0x49f7ef
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov ebx, dword [eax + 0x20]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x94]
mov dword [esp + 0x1c], edi
call fcn.0049f430
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
setle cl
mov edx, dword [esp + 0x4c]
jmp 0x49f853
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x84]
mov dword [esp + 0xc], esi
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x94]
mov dword [esp + 0x1c], edi
call fcn.0049f430
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
setle cl
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
movzx ebx, byte [esp + 0x2a]
jmp 0x49f49d
mov ecx, dword [ecx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
call fcn.004a0960
add esp, 0x74
ret
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
call fcn.004a0d00
add esp, 0x74
ret
add esp, 0x74
ret
mov eax, ecx
mov ecx, edi
call fcn.00471840
mov ecx, edi
call fcn.00471840
mov dword [eax], ebp
mov eax, dword [esp + 0x64]
mov dword [edx], eax
mov dword [edi], ecx
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x40]
lea ebp, [ecx - 1]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
cmp ebp, eax
jle 0x49f95a
cmp esi, eax
jbe 0x49f97b
lea ebx, [edi + eax*8]
mov ecx, dword [ebx]
cmp esi, ebp
jbe 0x49f972
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x64], ecx
lea edx, [edi + ebp*8]
mov esi, dword [edx]
mov ecx, dword [ebx + 4]
lea eax, [edi + eax*8 + 4]
lea edi, [edi + ebp*8 + 4]
mov ebp, dword [edx + 4]
mov dword [ebx], esi
mov ebx, dword [0x95f020]
test ebx, ebx
je 0x49f8d4
mov ebx, edi
call fcn.004717f0
mov dword [edi], ebp
mov esi, dword [eax]
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov esi, dword [ebx]
mov dword [edi + 0xc], esi
mov edi, ebx
jmp 0x49f8d4
sub ecx, edx
sub ebx, ecx
lea ecx, [ebx - 1]
movzx ebx, byte [esp + 0x2b]
test bl, bl
mov eax, 1
jmp 0x49f5bc
mov eax, ebp
mov ecx, esi
call fcn.00471840
mov ecx, esi
call fcn.00471840
nop
call fcn.004703c0
jmp fcn.0049f430