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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x4f4c75
sub esp, 0xcc
mov dword [esp + 0xe0], 0
mov eax, dword [esp + 0xd0]
cmp dword [eax + 0xc], 1
jle 0x4f41e3
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x4f4c80]
mov dword [esp + 0x70], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
mov dword [esp], eax
call fcn.00435e40
test eax, eax
jne 0x4f46c7
mov eax, dword [esp + 0xd0]
movzx ecx, byte [eax + 1]
test cl, cl
jne 0x4f41fd
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x4f422a
movzx ecx, byte [ecx]
test cl, cl
je 0x4f422a
mov ecx, dword [eax + 4]
cmp dword [eax + 8], 7
jne 0x4f4223
cmp dword [ecx], 0x646e6977
jne 0x4f4223
cmp word [ecx + 4], 0x776f
jne 0x4f4223
cmp byte [ecx + 6], 0x73
jne 0x4f4223
mov ecx, 4
jmp 0x4f422c
mov ecx, 1
jmp 0x4f422c
xor ecx, ecx
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
cmp ebx, 7
jne 0x4f424d
cmp dword [edx], 0x646e6977
jne 0x4f424d
cmp word [edx + 4], 0x776f
jne 0x4f424d
cmp byte [edx + 6], 0x73
je 0x4f4260
cmp ebx, 5
jne 0x4f4273
cmp dword [edx], 0x6e616c70
jne 0x4f4273
cmp byte [edx + 4], 0x39
jne 0x4f4273
mov dword [esp + 0xe0], ecx
call fcn.00436430
add esp, 0xcc
ret
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4f42a8
mov ebp, dword [eax + 0x14]
movzx ebp, byte [ebp + 0x29]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4f42a8
mov dword [esp + 0x24], ecx
cmp ebx, 7
jne 0x4f42bb
cmp dword [edx], 0x72646e61
jne 0x4f42bb
cmp word [edx + 4], 0x696f
jne 0x4f42bb
cmp byte [edx + 6], 0x64
jne 0x4f42bb
mov dword [esp + 0xe0], ecx
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5c
call fcn.00402a00
cmp dword [esp + 0xc], 0xffffffff
jne 0x4f4307
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x25
call fcn.00402a00
cmp dword [esp + 0xc], 0xffffffff
je 0x4f431e
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov ebx, dword [esp + 0xd0]
mov ebp, dword [ebx + 4]
cmp dword [ebx + 8], 7
jne 0x4f44e1
cmp dword [ebp], 0x6e65706f
jne 0x4f44e1
cmp word [ebp + 4], 0x7362
jne 0x4f44e1
cmp byte [ebp + 6], 0x64
jne 0x4f44e1
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [0x1108a60]
mov ebp, dword [0x1108a64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.004983f0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4f44ca
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4f44b3
cmp eax, 2
jg 0x4f449c
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
cmp ebx, 4
jne 0x4f4485
cmp dword [edx], 0x646e6962
jne 0x4f441d
cmp eax, 2
jne 0x4f4406
mov eax, dword [ecx + 8]
cmp dword [ecx + 0xc], 4
jne 0x4f43ef
cmp dword [eax], 0x656c6966
jne 0x4f43ef
mov dword [esp + 0xe0], 2
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov dword [esp + 0xe0], 4
call fcn.00436430
add esp, 0xcc
ret
cmp ebx, 4
jne 0x4f4485
cmp dword [edx], 0x656c6966
jne 0x4f4485
cmp eax, 2
jne 0x4f446e
mov eax, dword [ecx + 8]
cmp dword [ecx + 0xc], 4
jne 0x4f4457
cmp dword [eax], 0x646e6962
jne 0x4f4457
mov dword [esp + 0xe0], 1
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov dword [esp + 0xe0], 3
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov dword [esp + 0xe0], 2
call fcn.00436430
add esp, 0xcc
ret
mov dword [esp + 0xe0], 3
call fcn.00436430
add esp, 0xcc
ret
mov ecx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd8]
cmp ecx, 1
jl 0x4f452b
lea eax, [ecx - 1]
cmp ecx, eax
jb 0x4f4c6f
lea eax, [ecx + ebp - 1]
mov dword [esp], eax
lea eax, [0x6b117c]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00402990
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0xd0]
jmp 0x4f452d
xor eax, eax
test al, al
je 0x4f454a
mov edx, dword [esp + 0xdc]
lea ecx, [edx - 1]
cmp edx, ecx
jb 0x4f4c6a
mov dword [esp + 0xdc], ecx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6b20c5]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.0050a710
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4f46b0
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [ecx + 8]
lea ebx, [0x67aa80]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [0x6b1e65]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 5
call fcn.0040fa50
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [0x1108a60]
mov edi, dword [0x1108a64]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.004983f0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4f465c
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
test eax, eax
je 0x4f460b
mov ecx, dword [esp + 0x18]
jmp 0x4f4615
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4f465c
test eax, eax
jne 0x4f4645
test ecx, ecx
je 0x4f4636
mov eax, dword [esp + 0x58]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x30], edx
xor edx, edx
jmp 0x4f47b2
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4f46d3
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 4]
cmp dword [eax + 8], 7
jne 0x4f4699
cmp dword [ecx], 0x616c6f73
jne 0x4f4699
cmp word [ecx + 4], 0x6972
jne 0x4f4699
cmp byte [ecx + 6], 0x73
jne 0x4f4699
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov dword [esp + 0xe0], 1
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
call fcn.00436430
add esp, 0xcc
ret
test cl, cl
je 0x4f46fd
mov ecx, dword [esp + 0xd0]
movzx ecx, byte [ecx + 3]
test cl, cl
je 0x4f46fd
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
test dl, dl
je 0x4f4761
test al, al
je 0x4f4746
cmp ebp, 5
jne 0x4f472f
cmp dword [ebx], 0x656c6966
jne 0x4f472f
cmp byte [ebx + 4], 0x73
jne 0x4f472f
mov dword [esp + 0xe0], 1
call fcn.00436430
add esp, 0xcc
ret
mov dword [esp + 0xe0], 2
call fcn.00436430
add esp, 0xcc
ret
test dl, dl
je 0x4f4761
mov dword [esp + 0xe0], 3
call fcn.00436430
add esp, 0xcc
ret
test al, al
je 0x4f477c
mov dword [esp + 0xe0], 4
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov ecx, dword [esp + 0x6c]
add ecx, 0x14
mov dword [esp + 0x30], eax
mov eax, ecx
mov ecx, dword [esp + 0x18]
mov ecx, ebx
mov ebx, edi
mov edi, ebp
mov ebp, esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], esi
xchg edi, eax
mov byte [esp + 0x15], al
xchg edi, eax
mov dword [esp + 0x6c], eax
xchg ebp, eax
mov byte [esp + 0x16], al
xchg ebp, eax
mov byte [esp + 0x17], bl
lea edi, [esp + 0x7c]
mov esi, eax
call fcn.004635ce
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x80], 0xa
jne 0x4f4820
mov dword [esp], ecx
lea eax, [0x6b3d8a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4f48d3
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
movzx ebx, byte [esp + 0x17]
movzx ebp, byte [esp + 0x16]
mov ecx, dword [esp + 0x7c]
mov esi, eax
mov eax, dword [esp + 0x80]
cmp eax, 5
jne 0x4f4840
cmp dword [ecx], 0x656c6966
jne 0x4f4840
cmp byte [ecx + 4], 0x73
je 0x4f4852
cmp eax, 3
jne 0x4f4887
cmp word [ecx], 0x6e64
jne 0x4f4887
cmp byte [ecx + 2], 0x73
jne 0x4f4887
lea edi, [esp + 0x90]
mov eax, esi
lea esi, [esp + 0x7c]
call fcn.004635ce
mov ecx, dword [esp + 0x9c]
mov esi, eax
mov eax, dword [esp + 0x98]
test ecx, ecx
je 0x4f4a51
mov dword [esp + 0x2c], ecx
xor edi, edi
jmp 0x4f4abf
cmp eax, 4
jl 0x4f4975
mov dword [esp], ecx
lea eax, [0x6b1ab4]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f4975
movzx eax, byte [esp + 0x16]
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
mov ebp, 1
jmp 0x4f495b
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f4fa0
movzx eax, byte [esp + 8]
test al, al
jne 0x4f498c
mov ecx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xd8]
nop
cmp ecx, 7
jne 0x4f4915
xor eax, eax
jmp 0x4f4a0b
mov edx, dword [0x1101eb4]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp]
test eax, eax
jne 0x4f49a3
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd8]
cmp ecx, edx
jne 0x4f4944
xor eax, eax
jmp 0x4f49c1
movzx eax, byte [esp + 0x16]
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
movzx ebp, byte [esp + 0x15]
mov esi, eax
mov eax, dword [esp + 0x30]
inc eax
mov edi, ecx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jg 0x4f4793
jmp 0x4f49f6
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
inc eax
mov edx, esi
mov ebx, edi
mov ebp, ecx
cmp eax, edx
jge 0x4f49a3
jae 0x4f4a03
mov ecx, ebp
movzx ebp, byte [eax + ebp]
mov esi, edx
lea edx, [ebp - 0x41]
cmp dl, 0x19
ja 0x4f49da
add ebp, 0x20
movzx edx, byte [eax + ebx]
mov edi, ebx
lea ebx, [edx - 0x41]
cmp bl, 0x19
ja 0x4f49eb
add edx, 0x20
xchg ebp, eax
cmp dl, al
xchg ebp, eax
je 0x4f49ba
jmp 0x4f4944
mov eax, edi
mov ecx, ebp
mov ebp, edx
mov edx, esi
jmp 0x4f46d3
mov ecx, edx
call fcn.00462ef0
inc eax
cmp eax, ecx
jge 0x4f498c
jae 0x4f4a4c
movzx ebp, byte [eax + ebx]
lea esi, [ebp - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4f4a26
add ebp, 0x20
lea esi, [0x6b2948]
movzx edi, byte [eax + esi]
lea esi, [edi - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4f4a3d
add edi, 0x20
xchg edi, eax
xchg ebp, ebx
cmp al, bl
xchg ebp, ebx
xchg edi, eax
je 0x4f4a0a
jmp 0x4f4915
call fcn.00462ef0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
cmp ecx, 5
jne 0x4f4a76
cmp dword [eax], 0x656c6966
jne 0x4f4a76
cmp byte [eax + 4], 0x73
jne 0x4f4a76
mov ebp, 1
jmp 0x4f4a8d
cmp ecx, 3
jne 0x4f4a8d
cmp word [eax], 0x6e64
jne 0x4f4a8d
cmp byte [eax + 2], 0x73
jne 0x4f4a8d
mov ebx, 1
test edx, edx
je 0x4f4a97
mov ecx, edx
mov eax, dword [esp + 0x60]
mov edx, ecx
mov ecx, ebx
mov ebx, eax
mov eax, ebp
movzx ebp, byte [esp + 0x15]
jmp 0x4f495b
add eax, 0x14
mov edx, edi
movzx ebx, byte [esp + 0x17]
mov ebp, esi
mov esi, dword [esp + 0x6c]
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
lea edi, [esp + 0xa4]
mov esi, eax
call fcn.004635ce
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0xb8]
lea esi, [esp + 0xa4]
call fcn.004635ce
movzx ecx, byte [esp + 0xb8]
test cl, cl
je 0x4f4b0a
mov ebx, dword [esp + 0x1c]
mov esi, ebp
mov edi, edx
xor ecx, ecx
jmp 0x4f4c2e
mov ecx, dword [esp + 0xbc]
mov esi, ebp
mov ebp, dword [esp + 0xc0]
cmp ebp, 7
jne 0x4f4b65
cmp dword [ecx], 0x63637573
jne 0x4f4b42
cmp word [ecx + 4], 0x7365
jne 0x4f4b42
cmp byte [ecx + 6], 0x73
jne 0x4f4b42
mov ecx, 6
lea ebp, [0x6b24c7]
jmp 0x4f4ba3
cmp dword [ecx], 0x76616e75
jne 0x4f4c26
cmp word [ecx + 4], 0x6961
jne 0x4f4c26
cmp byte [ecx + 6], 0x6c
je 0x4f4b98
jmp 0x4f4c26
cmp ebp, 8
jne 0x4f4c26
cmp dword [ecx], 0x66746f6e
jne 0x4f4b7f
cmp dword [ecx + 4], 0x646e756f
je 0x4f4b98
cmp dword [ecx], 0x61797274
jne 0x4f4c26
cmp dword [ecx + 4], 0x6e696167
jne 0x4f4c26
mov ecx, 8
lea ebp, [0x6b2e1a]
mov edi, edx
mov edx, dword [esp + 0x28]
dec edx
mov ebx, dword [esp + 0x1c]
cmp ebx, edx
jne 0x4f4bda
mov edx, dword [esp + 0xc4]
cmp dword [esp + 0xc8], 6
jne 0x4f4bda
cmp dword [edx], 0x75746572
jne 0x4f4bda
cmp word [edx + 4], 0x6e72
jne 0x4f4bda
mov ecx, 1
jmp 0x4f4c2e
mov dword [esp + 0x64], ebp
mov edx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
cmp ecx, edx
je 0x4f4bf4
xor ecx, ecx
jmp 0x4f4c2e
mov dword [esp + 0x68], eax
mov dword [esp], ebp
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402990
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x1c]
movzx esi, byte [esp + 0x16]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x68]
jmp 0x4f4c2e
mov ebx, dword [esp + 0x1c]
mov edi, edx
xor ecx, ecx
test cl, cl
je 0x4f4c53
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jg 0x4f4aa9
mov edx, edi
movzx ebx, byte [esp + 0x17]
mov ebp, esi
mov esi, dword [esp + 0x6c]
jmp 0x4f4a51
mov eax, dword [esp + 0x24]
mov dword [esp + 0xe0], eax
call fcn.00436430
add esp, 0xcc
ret
call fcn.00462f10
call fcn.00462f50
nop
call fcn.00461a60
jmp fcn.004f4150