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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4fa354
sub esp, 0x84
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x4fa2e5
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
xor esi, esi
mov edi, esi
movzx esi, byte [ecx + 4]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4f99f3
jmp 0x4f99fd
dec ebx
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ebp, ebx
mov ebx, esi
test ebx, ebx
jle 0x4f99fd
cmp byte [ebp], 0x2e
je 0x4f99e4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebx
test eax, eax
je 0x4fa24f
mov dword [esp + 0x34], eax
mov esi, edi
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00459a88
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x34]
jmp 0x4f9a48
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov esi, ecx
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x78], ecx
jge 0x4f9d42
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.004fad40
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
test ecx, ecx
jne 0x4f9ba2
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4f9b28
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x80]
lea ebp, [ebx + 1]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
test esi, esi
je 0x4f9af0
cmp ebp, edi
jl 0x4f9ac7
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x78], ebx
jmp 0x4f9a32
lea edx, [edi - 1]
cmp ebp, edx
jne 0x4f9ae7
cmp ebp, edi
jae 0x4fa340
lea edx, [esi + ebx*8 + 8]
mov edx, dword [edx + 4]
test edx, edx
jne 0x4f9ae7
mov edx, dword [esp + 0x34]
jmp 0x4f9aba
mov edx, dword [esp + 0x34]
jmp 0x4f9a32
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + 1]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea edx, [esi - 1]
cmp ebp, edx
jne 0x4f9b1f
cmp ebp, esi
jae 0x4fa337
lea edx, [edi + ebx + 1]
cmp byte [edx], 0x2e
jne 0x4f9b1f
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x34]
jmp 0x4f9a32
mov ebx, dword [esp + 0x88]
movzx ebp, byte [ebx + 3]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f9a8c
lea eax, [0x52f0a0]
mov dword [esp], eax
call fcn.0040b120
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x73c0c0]
test ecx, ecx
jne 0x4f9b89
mov edx, dword [esp + 0x8c]
mov dword [edi], edx
mov dword [edi + 0xc], 2
lea ebx, [0x53ebcf]
mov dword [edi + 8], ebx
lea edx, [0x582670]
mov eax, edi
jmp 0x4f9a90
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.00459850
mov eax, ecx
mov edx, dword [esp + 0x8c]
jmp 0x4f9b6c
cmp ecx, 4
jge 0x4f9d0e
xor edx, edx
test dl, dl
jne 0x4f9be8
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4f9bc7
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
jmp 0x4f9a95
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004fb160
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x4f9bbd
cmp ecx, 4
jb 0x4fa349
add ecx, 0xfffffffc
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004fb680
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x4f9c3e
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x4f9c38
mov eax, dword [esp + 0x54]
movzx ecx, byte [esp + 0x22]
mov edx, ebp
jmp 0x4f9a95
mov ebp, edx
mov eax, ebx
jmp 0x4f9c2c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], eax
movzx edx, byte [esp + 0x22]
test dl, dl
je 0x4f9cec
mov edx, 1
mov byte [esp + 0x22], dl
lea ebx, [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004fae20
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f9cb7
mov ecx, dword [esp + 0x54]
test eax, eax
je 0x4f9c8e
mov edx, eax
mov eax, ecx
movzx ecx, byte [esp + 0x22]
jmp 0x4f9a95
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.004fb160
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x4f9c80
mov ebx, dword [esp + 0x88]
movzx ebp, byte [ebx + 2]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f9c78
mov edx, dword [ebx + 0xc]
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x4f9c7c
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f29f0
mov eax, dword [esp + 8]
test eax, eax
setne dl
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
jmp 0x4f9c58
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], eax
lea ecx, [0x53f4a4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.004026c0
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
jmp 0x4f9bad
xchg esi, eax
test al, al
xchg esi, eax
je 0x4fa243
mov ecx, dword [esp + 0x88]
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x4f9d62
test eax, eax
je 0x4fa0d3
movzx ebx, byte [esp + 0x94]
test bl, bl
je 0x4f9f97
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x4f9d9d
mov ecx, ebp
mov eax, edx
mov edx, ebx
movzx ebx, byte [esp + 0x94]
mov ebp, dword [esp + 0x68]
cmp dword [esp + 0x78], ebp
jge 0x4f9f97
mov dword [esp + 0x60], edx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.004fad40
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004fb620
movzx eax, byte [esp + 8]
test al, al
je 0x4f9f16
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x88]
movzx esi, byte [ebp + 3]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4f9e11
test edx, edx
je 0x4f9ea9
mov esi, dword [esp + 0x80]
lea eax, [esi + 1]
mov dword [esp + 0x80], eax
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test edi, edi
je 0x4f9e6e
cmp eax, ecx
jl 0x4f9e3f
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x4f9d8f
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x4f9e62
cmp eax, ecx
jae 0x4fa328
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f9e62
mov ebp, dword [esp + 0x88]
jmp 0x4f9e32
mov ebp, dword [esp + 0x88]
jmp 0x4f9d8f
mov esi, dword [esp + 0x7c]
lea eax, [esi + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x4f9e9d
cmp ecx, eax
jbe 0x4fa323
lea eax, [esi + edi + 1]
cmp byte [eax], 0x2e
jne 0x4f9e9d
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0x88]
jmp 0x4f9d8f
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
test eax, eax
je 0x4f9ebe
cmp eax, 0x3f
jle 0x4f9e11
lea eax, [0x52f0a0]
mov dword [esp], eax
call fcn.0040b120
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x73c0c0]
test eax, eax
jne 0x4f9f0b
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov dword [edi + 0xc], 2
lea esi, [0x53ebcf]
mov dword [edi + 8], esi
mov ebp, dword [esp + 0x88]
lea edx, [0x582670]
mov ebx, edi
jmp 0x4f9e11
mov eax, dword [esp + 0x50]
call fcn.00459850
jmp 0x4f9ee7
lea eax, [0x53f4a4]
mov dword [esp], eax
mov dword [esp + 4], 4
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
call fcn.004fbe10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x4f9f91
mov edx, dword [esp + 0x60]
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], eax
lea ebx, [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004fae20
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x4f9df8
mov ebp, edx
mov edx, ebx
jmp 0x4f9f58
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
test ebp, ebp
jne 0x4fa083
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
test bl, bl
je 0x4f9fc3
movzx ecx, byte [ecx + 3]
test cl, cl
je 0x4f9fc3
test eax, eax
je 0x4f9fe6
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
add esp, 0x84
ret
test esi, esi
jle 0x4fa07c
lea ecx, [esi + ebp - 1]
cmp byte [ecx], 0x2e
jne 0x4fa07c
lea ecx, [esi - 1]
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], ebp
cmp esi, 1
jge 0x4fa06a
lea eax, [0x52f0a0]
mov dword [esp], eax
call fcn.0040b120
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [0x73c0c0]
test ecx, ecx
jne 0x4fa057
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [edi + 0xc], 2
lea edx, [0x53ebcf]
mov dword [edi + 8], edx
lea edx, [0x582670]
mov ebp, ecx
mov esi, eax
mov eax, edx
mov edx, edi
jmp 0x4f9fc3
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00459850
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x4fa034
cmp ecx, 0xfd
jg 0x4fa00b
mov ecx, ebp
mov edi, edx
mov edx, eax
mov eax, esi
jmp 0x4fa04a
mov ecx, esi
jmp 0x4f9ffe
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], edx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
lea eax, [0x53eb7f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0046da60
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + 0x94]
test al, al
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x5c]
jmp 0x4f9fb5
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x4fa10d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x78], esi
jge 0x4fa23f
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.004fad40
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x4fa1de
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test ebx, ebx
je 0x4fa1a2
cmp ecx, eax
jg 0x4fa17f
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x4fa0f0
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x4fa0f0
cmp ecx, eax
jbe 0x4fa332
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x4fa172
jmp 0x4fa0f0
mov edx, dword [esp + 0x7c]
lea eax, [edx + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp eax, ebp
jne 0x4fa0f0
cmp eax, ecx
jae 0x4fa32d
lea eax, [ebx + edx + 1]
cmp byte [eax], 0x2e
jne 0x4fa0f0
mov dword [esp + 0x78], ecx
jmp 0x4fa0f0
lea eax, [0x52f0a0]
mov dword [esp], eax
call fcn.0040b120
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov eax, dword [0x73c0c0]
test eax, eax
jne 0x4fa231
mov eax, dword [esp + 0x8c]
mov dword [edi], eax
mov dword [edi + 0xc], 1
lea eax, [0x53eb8c]
mov dword [edi + 8], eax
lea eax, [0x582670]
mov ecx, dword [esp + 0x88]
mov edx, edi
jmp 0x4f9d62
mov eax, dword [esp + 0x8c]
call fcn.00459850
jmp 0x4fa20d
mov edi, edx
jmp 0x4fa223
mov ecx, dword [esp + 0x88]
jmp 0x4f9d62
movzx esi, byte [ecx + 3]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4f9a13
test ebx, ebx
jne 0x4f9a13
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
lea eax, [0x52f0a0]
mov dword [esp], eax
call fcn.0040b120
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x73c0c0]
test ecx, ecx
jne 0x4fa2cc
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov dword [edi + 0xc], 2
lea esi, [0x53ebcf]
mov dword [edi + 8], esi
mov ecx, dword [esp + 0x88]
mov ebx, eax
mov ebp, dword [esp + 0x8c]
lea eax, [0x582670]
mov edx, edi
movzx edi, byte [esp + 0x23]
jmp 0x4f9a13
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.00459850
mov eax, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x4fa29a
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov eax, dword [edx]
call eax
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx esi, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
jmp 0x4f99d6
call fcn.004598d0
call fcn.004598d0
call fcn.004598d0
call fcn.004598d0
mov eax, ebp
mov ecx, esi
call fcn.004598d0
mov eax, ebp
mov ecx, edi
call fcn.004598d0
mov eax, 4
call fcn.00459930
nop
call fcn.00458300
jmp fcn.004f9990