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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4f32a0
sub esp, 0x84
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 4]
cmp ebp, 2
ja 0x4f2c44
cmp ebp, 1
je 0x4f2b87
cmp ebp, 2
jne 0x4f2c9d
movzx eax, byte [ebx + 0x62]
test al, al
jne 0x4f2d61
mov eax, dword [0x96c9d8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
lea ebp, [0x6e3420]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e1c0
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x88]
cmp dword [ecx + 8], 0x3f04
jne 0x4f2d52
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x18]
jmp 0x4f324a
movzx eax, byte [ebx + 0x49]
test al, al
je 0x4f2bc8
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x729ddb]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.004e1d20
mov eax, dword [esp + 0x14]
test eax, eax
sete al
mov ecx, dword [esp + 0x88]
mov byte [ecx + 0x49], al
mov ebx, ecx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7a3640]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x727e67]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0xffffffff
call fcn.004e2120
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x88]
mov dword [edx + 0x10], eax
mov ebx, dword [0x98d0b8]
test ebx, ebx
je 0x4f2c2f
call fcn.00471ac0
mov dword [edi], ecx
mov ebx, dword [edx + 0xc]
mov dword [edi + 4], ebx
mov dword [edx + 0xc], ecx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004e73d0
jmp 0x4f2c9d
cmp ebp, 3
jne 0x4f2c4f
mov ebp, dword [ebx + 0x2c]
dec ebp
jmp 0x4f2cba
cmp ebp, 5
jne 0x4f2c9d
lea eax, [0x7117e0]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 4
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0x20], edx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4f2c8e
call fcn.00471ab0
mov dword [edi], ebx
mov dword [eax + 0x1c], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e6ee0
mov byte [esp + 0x8c], 1
add esp, 0x84
ret
mov esi, dword [esp + 0x34]
lea ebp, [esi - 1]
mov ebx, dword [esp + 0x88]
test ebp, ebp
jl 0x4f2d37
mov ecx, dword [ebx + 0x2c]
cmp ebp, ecx
jae 0x4f2d4b
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + ebp*4]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x4f2d1a
mov dword [esp + 0x34], ebp
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [ebx + 0xc]
mov ebp, dword [ebx + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.004e2600
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f2cac
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0x30]
mov ecx, dword [esp + 0x34]
cmp ecx, edx
ja 0x4f2d46
mov dword [eax + 0x2c], ecx
jmp 0x4f2d37
mov edx, dword [ebx + 0x58]
mov eax, dword [edx]
mov dword [esp], ebx
call eax
movzx eax, byte [esp + 4]
mov byte [esp + 0x8c], al
add esp, 0x84
ret
mov byte [esp + 0x8c], 1
add esp, 0x84
ret
call fcn.00471b70
mov eax, ebp
call fcn.00471b30
test al, al
je 0x4f2d5f
mov ebx, dword [ecx + 0x2c]
dec ebx
jmp 0x4f3155
mov ebx, ecx
cmp dword [ebx + 0x2c], 1
jne 0x4f2d76
movzx eax, byte [ebx + 0x62]
test al, al
je 0x4f2d76
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x4f2d88
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4f2d86
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx + eax*4 - 4]
jmp 0x4f2d88
xor eax, eax
mov dword [esp + 0x48], eax
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
cmp ecx, 3
jne 0x4f2e66
cmp word [edx], 0x7673
jne 0x4f3086
cmp byte [edx + 2], 0x67
jne 0x4f3086
mov eax, dword [0x96c9dc]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
lea ebp, [0x6e2f20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040e1c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4f2e40
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x4f2df1
lea eax, [0x98cc80]
mov dword [esp + 0x24], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004e2e90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x88]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], eax
mov eax, dword [0x98d0b8]
test eax, eax
jne 0x4f2e2a
mov eax, dword [esp + 0x4c]
jmp 0x4f2e3b
call fcn.00471ac0
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 4], edx
mov dword [ecx + 0xc], eax
jmp 0x4f2e47
mov ecx, dword [esp + 0x88]
mov eax, dword [0x96c9e4]
mov dword [esp + 0x54], eax
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x78], edx
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x3c], ebx
xor ebp, ebp
jmp 0x4f30b6
cmp ecx, 4
jne 0x4f3086
cmp dword [edx], 0x6874616d
jne 0x4f3086
mov ecx, dword [0x96c9e0]
mov dword [esp + 0x58], ecx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x7c], edx
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x40], ebp
xor esi, esi
jmp 0x4f2eb3
mov edi, dword [esp + 0x30]
lea esi, [edi + 1]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov edx, ebx
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x40]
cmp esi, ebp
jge 0x4f2f4a
mov dword [esp + 0x30], esi
lea eax, [esi + esi*2]
mov dword [esp + 0x44], eax
lea ebx, [edx + eax*8]
lea ebp, [edx + eax*8 + 8]
mov dword [esp + 0x80], ebp
mov edi, dword [ebp]
mov ebx, dword [ebx + 0xc]
lea ebp, [0x6e2f20]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
call fcn.00469120
movzx eax, byte [esp + 0x14]
test al, al
je 0x4f2f41
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
lea edx, [ebx + edx*8 + 0xc]
mov eax, dword [eax]
mov dword [edx], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x4f2f27
mov ecx, dword [esp + 0x80]
jmp 0x4f2f3a
call fcn.00471ac0
mov dword [edi], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
jmp 0x4f2e97
mov ebx, dword [esp + 0x7c]
jmp 0x4f2e97
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004e6330
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x50], eax
nop
lea edx, [0x7117e0]
mov dword [esp], edx
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 3
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0x20], edx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4f2fb6
call fcn.00471ab0
mov dword [edi], ebx
mov dword [eax + 0x1c], ebx
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x14]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ebx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4f2fd9
call fcn.00471ab0
mov dword [edi], ebp
mov dword [eax + 0x2c], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e6ee0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x4f2fff
mov edx, dword [eax + 0x28]
mov edx, dword [edx + ecx*4 - 4]
jmp 0x4f3001
xor edx, edx
test edx, edx
jne 0x4f3008
mov edx, dword [eax + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [edx + 0x28], ebx
mov ebp, dword [0x98d0b8]
test ebp, ebp
jne 0x4f301f
mov ebp, dword [esp + 0x50]
jmp 0x4f3030
call fcn.00471ac0
mov ebp, dword [esp + 0x50]
mov dword [edi], ebp
mov esi, dword [edx + 0x24]
mov dword [edi + 4], esi
mov dword [edx + 0x24], ebp
test ebx, ebx
je 0x4f305b
mov edx, dword [eax]
mov dword [edx + 0x60], 0
mov ebx, dword [0x98d0b8]
test ebx, ebx
je 0x4f3054
mov ebx, dword [edx + 0x5c]
call fcn.00471ab0
mov dword [edi], ebx
mov dword [edx + 0x5c], 0
movzx edx, byte [eax + 0x20]
test dl, dl
je 0x4f2c9d
mov ecx, dword [eax + 0x2c]
lea edx, [ecx - 1]
nop
cmp ecx, edx
jbe 0x4f307f
mov dword [eax + 0x2c], edx
nop
mov byte [eax + 0x20], 0
jmp 0x4f2c9d
mov eax, edx
call fcn.00471b30
lea eax, [0x6e0660]
mov dword [esp], eax
lea eax, [0x7a3cd8]
mov dword [esp + 4], eax
call fcn.0046ae10
mov esi, dword [esp + 0x2c]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
mov edx, ebx
mov ebx, dword [esp + 0x3c]
cmp ebp, ebx
jge 0x4f314d
mov dword [esp + 0x2c], ebp
lea ecx, [ebp + ebp*2]
mov dword [esp + 0x44], ecx
lea ebx, [edx + ecx*8]
lea esi, [edx + ecx*8 + 8]
mov dword [esp + 0x80], esi
mov edi, dword [esi]
mov ebx, dword [ebx + 0xc]
lea esi, [0x6e2f20]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
call fcn.00469120
movzx eax, byte [esp + 0x14]
test al, al
je 0x4f3144
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
lea edx, [ebx + edx*8 + 0xc]
mov eax, dword [eax]
mov dword [edx], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x4f312a
mov ecx, dword [esp + 0x80]
jmp 0x4f313d
call fcn.00471ac0
mov dword [edi], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
jmp 0x4f309e
mov ebx, dword [esp + 0x78]
jmp 0x4f309e
mov ebx, ecx
jmp 0x4f2f4a
dec ebx
test ebx, ebx
jl 0x4f3220
mov ebp, dword [ecx + 0x2c]
cmp ebx, ebp
jae 0x4f3236
mov ebp, dword [ecx + 0x28]
mov ebp, dword [ebp + ebx*4]
mov esi, dword [ebp + 0x28]
test esi, esi
jne 0x4f317d
mov eax, 1
jmp 0x4f31a1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp], ebp
call fcn.004e6690
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x5c]
test al, al
jne 0x4f3213
cmp dword [ebp + 0x28], 4
jne 0x4f3154
mov esi, dword [ebp + 0x24]
cmp dword [esi], 0x6874616d
jne 0x4f3154
mov esi, dword [ebp + 0x20]
mov ebp, dword [ebp + 0x1c]
cmp esi, 2
jne 0x4f31f3
cmp byte [ebp + 1], 0x6e
jg 0x4f31dd
cmp word [ebp], 0x696d
je 0x4f3213
cmp word [ebp], 0x6e6d
jne 0x4f3154
jmp 0x4f3213
cmp word [ebp], 0x6f6d
je 0x4f3213
cmp word [ebp], 0x736d
jne 0x4f3154
jmp 0x4f3213
cmp esi, 5
jne 0x4f3154
cmp dword [ebp], 0x7865746d
jne 0x4f3154
cmp byte [ebp + 4], 0x74
jne 0x4f3154
mov edx, dword [ecx + 0x30]
lea eax, [ebx + 1]
cmp edx, eax
jb 0x4f322f
mov dword [ecx + 0x2c], eax
mov byte [esp + 0x8c], 0
add esp, 0x84
ret
mov ecx, eax
call fcn.00471b70
mov eax, ebx
mov ecx, ebp
call fcn.00471b30
add ebx, 0x18
dec ebp
mov ecx, dword [esp + 0x88]
test ebp, ebp
jle 0x4f2d52
lea edi, [esp + 0x60]
mov esi, ebx
call fcn.00472224
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp ecx, 4
jne 0x4f327c
cmp dword [edx], 0x65636166
je 0x4f328f
cmp dword [edx], 0x657a6973
jne 0x4f323f
jmp 0x4f328f
cmp ecx, 5
jne 0x4f323f
cmp dword [edx], 0x6f6c6f63
jne 0x4f323f
cmp byte [edx + 4], 0x72
jne 0x4f323f
mov ecx, dword [esp + 0x88]
mov eax, 1
jmp 0x4f2d52
call fcn.004706b0
jmp fcn.004f2af0