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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x4f23e5
sub esp, 0xdc
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov ecx, dword [eax + 0x1034]
test ecx, ecx
je 0x4f1e9c
mov ecx, dword [eax + 0x1030]
movzx ecx, byte [ecx]
jmp 0x4f1ea1
mov ecx, 0xffffffff
mov dword [esp + 0x34], ecx
xor edx, edx
xor ebx, ebx
jmp 0x4f1ebb
mov dword [ebp + ebx*4 + 0x84], eax
lea esi, [ebx + 1]
mov eax, ebp
mov ebx, edx
mov edx, esi
cmp edx, 0x3e8
jge 0x4f2183
mov dword [esp + 0x30], edx
mov byte [esp + 0x1e], bl
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004f24f0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
jl 0x4f1f39
test eax, eax
je 0x4f1ef3
mov edx, dword [eax]
jmp 0x4f1ef5
xor edx, edx
cmp edx, 4
je 0x4f1f01
movzx edx, byte [esp + 0x1e]
jmp 0x4f1f3e
lea edi, [esp + 0xac]
xor eax, eax
call fcn.00468aa4
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
lea ebx, [esp + 0xac]
mov dword [esp + 8], ebx
call fcn.0040dfe0
mov ecx, dword [esp + 0x34]
jmp 0x4f2289
movzx edx, byte [esp + 0x1e]
test eax, eax
je 0x4f1f46
mov ebx, dword [eax]
jmp 0x4f1f48
xor ebx, ebx
cmp ebx, 4
jle 0x4f2148
mov byte [esp + 0x1f], dl
lea eax, [0x52bea0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
call fcn.0040ceb0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea edi, [esp + 0xac]
xor eax, eax
call fcn.00468aa4
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
lea ebx, [esp + 0xac]
mov dword [esp + 8], ebx
call fcn.0040dfe0
jmp 0x4f2264
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f1fbb
mov ecx, dword [eax]
jmp 0x4f1fbd
xor ecx, ecx
cmp ecx, 4
jg 0x4f1fd3
mov eax, dword [esp + 0xe0]
movzx ecx, byte [esp + 0x1f]
jmp 0x4f213e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004f26c0
mov eax, dword [esp + 0xe0]
movzx ecx, byte [eax + 0x18]
test cl, cl
je 0x4f2139
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4f1ffe
mov edx, dword [ecx]
jmp 0x4f2000
xor edx, edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x20], ebx
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00468aa6
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
lea ecx, [0x52bea0]
mov dword [esp + 0xa4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xa8], ebx
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00468aaa
lea ecx, [0x4f23f0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], 0x34
lea ebx, [0x5539d4]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], 5
mov dword [esp + 0x60], 5
lea ebp, [esp + 0x84]
mov dword [esp + 0x58], ebp
mov ebp, dword [0x68b9c4]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ebp, [esp + 0x4c]
mov dword [esp + 0xc], ebp
call fcn.004b1180
mov eax, dword [esp + 0xe0]
mov ecx, 1
mov eax, dword [esp + 0x40]
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov ebx, dword [0x6b2320]
test ebx, ebx
jne 0x4f2162
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0xe0]
jmp 0x4f1eab
call fcn.00468870
mov dword [edi], eax
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0xe0]
mov esi, dword [ebp + ebx*4 + 0x84]
mov dword [edi + 4], esi
jmp 0x4f1eab
test bl, bl
je 0x4f2205
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409c10
mov eax, dword [esp + 8]
lea ecx, [0x52a880]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [0x555525]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
add esp, 0xdc
ret
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
add esp, 0xdc
ret
mov eax, dword [esp + 0xb0]
movzx eax, byte [eax]
mov byte [esp + 0x1d], al
lea eax, [0x52bea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x1d]
mov dword [esp + 8], edx
call fcn.0040d770
mov eax, dword [esp + 0xc]
mov byte [eax], 1
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.0040e220
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4f2222
jmp 0x4f1faf
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.0040e220
mov eax, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4f22b0
mov eax, dword [esp + 0xb0]
cmp byte [eax], cl
jne 0x4f2274
mov eax, dword [esp + 0xe0]
movzx ecx, byte [esp + 0x1e]
jmp 0x4f23d6
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004f26c0
mov eax, dword [esp + 0xe0]
movzx ecx, byte [eax + 0x18]
test cl, cl
je 0x4f23d1
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x24], edx
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00468aa8
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call fcn.00409b00
mov ecx, dword [esp + 4]
lea edx, [0x52aa00]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00468aaa
lea ecx, [0x4f2470]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], 0x3e
lea ebx, [0x554d1e]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], 4
mov dword [esp + 0x60], 4
lea ebp, [esp + 0x64]
mov dword [esp + 0x58], ebp
mov ebp, dword [0x68b9c4]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ebp, [esp + 0x4c]
mov dword [esp + 0xc], ebp
call fcn.004b1180
mov eax, dword [esp + 0xe0]
mov ecx, 1
mov eax, dword [esp + 0x40]
mov edx, ecx
mov ecx, dword [esp + 0x34]
jmp 0x4f1f3e
call fcn.00467460
jmp fcn.004f1e60