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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fb384
sub esp, 0x7c
call fcn.0040ce30
mov eax, dword [esp]
mov dword [esp + 0x78], eax
call fcn.0040ce30
mov eax, dword [esp + 0x80]
test byte [eax], al
mov ecx, dword [esp]
mov dword [esp + 0x74], ecx
cmp byte [eax + 0x103c], 1
je 0x4faa80
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
lea ebx, [eax + 0x1029]
mov dword [esp + 8], ebx
call fcn.0040d770
mov eax, dword [esp + 0xc]
mov byte [eax], 0
mov eax, dword [esp + 0x80]
movzx ecx, byte [eax + 0x1028]
mov byte [esp + 0x27], cl
lea ecx, [0x52bea0]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [0x5d34ec]
mov dword [esp + 8], ebx
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
mov byte [eax], cl
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov word [esp + 0x2a], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2a], 1
mov word [esp + 0x2b], 0x302
cmp byte [eax + 0x103c], 1
jne 0x4faab8
mov word [esp + 0x28], 0
mov byte [esp + 0x29], 1
mov edx, 2
lea ebx, [esp + 0x28]
jmp 0x4faac1
mov edx, 3
lea ebx, [esp + 0x2a]
movzx ebp, byte [eax + 0x103c]
xchg ebp, eax
cmp al, 3
xchg ebp, eax
je 0x4faad6
xchg ebp, eax
cmp al, 5
xchg ebp, eax
jne 0x4faae9
mov byte [esp + 0x26], 0
mov byte [esp + 0x26], 1
mov edx, 1
lea ebx, [esp + 0x26]
movzx ebp, byte [esp + 0x90]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4fab7c
mov ebp, dword [eax + 0x1034]
test ebp, ebp
je 0x4fab1e
mov dword [esp + 0x54], ebp
mov esi, dword [eax + 0x1030]
mov dword [esp + 0x70], esi
xor edi, edi
mov dword [esp + 0x44], edx
jmp 0x4fafd4
lea eax, [0x5555ad]
mov dword [esp], eax
mov dword [esp + 4], 0x44
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x7c
ret
mov ebp, dword [eax + 0x1034]
test ebp, ebp
je 0x4fabb9
mov dword [esp + 0x54], ebp
mov eax, dword [eax + 0x1030]
mov dword [esp + 0x70], eax
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x60]
jmp 0x4fadde
mov eax, edx
test ecx, ecx
je 0x4fabc3
mov ebp, dword [ecx]
jmp 0x4fabc5
xor ebp, ebp
mov esi, dword [esp + 0x88]
cmp esi, ebp
jl 0x4fabd4
xor ebp, ebp
jmp 0x4fac12
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x7c
ret
mov edi, dword [esp + 0x54]
lea ebp, [edi + 1]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x88]
cmp esi, ebp
jle 0x4fad9d
mov dword [esp + 0x68], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x84]
lea ecx, [eax + ebp*4]
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
movzx esi, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], bl
xchg esi, eax
mov byte [esp + 0x3a], al
xchg esi, eax
mov byte [esp + 0x3b], cl
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
lea ebx, [esp + 0x39]
mov dword [esp + 8], ebx
call fcn.0040d3f0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx]
mov byte [esp + 0x27], cl
test al, al
je 0x4fac98
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x4fac00
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4fad3f
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax]
mov byte [esp + 0x24], cl
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
lea ebx, [esp + 0x39]
mov dword [esp + 8], ebx
call fcn.0040d770
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
neg eax
sar eax, 0x1f
and eax, 1
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xc]
movzx ebx, byte [esp + 0x24]
mov byte [edx], bl
movzx edx, byte [esp + 0x38]
mov byte [esp + 0x27], dl
lea edx, [0x52bea0]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x24]
mov dword [esp + 8], ebp
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
mov byte [eax], cl
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x44]
lea edx, [eax - 1]
mov eax, dword [esp + 0x48]
jmp 0x4fac00
lea eax, [0x55162a]
mov dword [esp], eax
mov dword [esp + 4], 0x29
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x7c
ret
inc ecx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
jge 0x4fae18
movzx eax, byte [ecx + eax]
cmp al, 0xf
jbe 0x4fadf5
mov eax, dword [esp + 0x44]
jmp 0x4fadc9
mov byte [esp + 0x22], al
mov dword [esp + 0x68], ebx
mov dword [esp + 0x48], edx
mov byte [esp + 0x58], al
xor eax, eax
mov dword [esp + 0x50], eax
movzx eax, byte [esp + 0x58]
jmp 0x4fae50
mov eax, dword [esp + 0x44]
jmp 0x4fadc9
mov ecx, dword [esp + 0x74]
mov eax, edx
mov edx, dword [esp + 0x44]
jmp 0x4fabbb
mov ebp, dword [esp + 0x50]
inc ebp
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
mov eax, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
cmp esi, ebp
jle 0x4fae12
lea edx, [edi + ebp*4]
movzx ebx, byte [edx]
movzx ecx, byte [edx + 1]
movzx edi, byte [edx + 2]
movzx edx, byte [edx + 3]
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], cl
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
mov byte [esp + 0x3f], dl
cmp bl, al
je 0x4fae93
mov eax, dword [esp + 0x30]
movzx ecx, byte [esp + 0x22]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x44]
jmp 0x4fae27
mov eax, dword [esp + 0x30]
mov byte [esp + 0x27], al
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
lea ebx, [esp + 0x3d]
mov dword [esp + 8], ebx
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
mov byte [eax], cl
mov eax, dword [esp + 0x30]
mov byte [esp + 0x27], al
lea ecx, [0x52bea0]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [esp + 0x27]
mov dword [esp + 8], ebx
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x22]
mov byte [eax], cl
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x44]
xor ebp, ebp
jmp 0x4faf06
inc ebp
cmp ebx, ebp
jle 0x4fae27
lea esi, [edx + ebp]
cmp byte [esi], al
jne 0x4faf05
lea ecx, [ebx - 1]
mov esi, ebx
sub ebx, ebp
mov edi, dword [esp + 0x48]
sub edi, ebp
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
inc ebp
and edi, ebp
lea ebp, [edx + edi]
lea edi, [ebx - 1]
mov eax, dword [esp + 0x48]
cmp eax, ecx
jae 0x4faf87
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x6c], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
mov eax, edx
mov edx, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x50], eax
sub esi, ebx
lea ebx, [edx + esi]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.004691a0
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x6c]
jmp 0x4fadc9
inc edi
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x74]
cmp edi, ebp
jge 0x4fb168
movzx ecx, byte [edi + esi]
cmp cl, 0xf
jbe 0x4fafeb
mov ecx, dword [esp + 0x44]
jmp 0x4fafcb
mov dword [esp + 0x34], edi
mov byte [esp + 0x23], cl
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], ebx
mov edx, dword [eax + 0x74]
mov dword [esp], edx
mov byte [esp + 4], cl
call fcn.0050cd80
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 9]
movzx edx, byte [esp + 0xa]
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], dl
mov eax, dword [esp + 0x34]
mov byte [esp + 0x27], al
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
lea ebx, [esp + 0x2d]
mov dword [esp + 8], ebx
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
mov byte [eax], cl
mov eax, dword [esp + 0x34]
mov byte [esp + 0x27], al
lea ecx, [0x52bea0]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [esp + 0x27]
mov dword [esp + 8], ebx
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x44]
xor ebx, ebx
jmp 0x4fb36f
lea ebp, [edx - 1]
mov esi, edx
sub edx, ebx
mov edi, dword [esp + 0x48]
sub edi, ebx
dec edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
inc ebx
and edi, ebx
lea ebx, [ecx + edi]
lea edi, [edx - 1]
mov eax, dword [esp + 0x48]
cmp eax, ebp
jae 0x4fb10c
mov dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x4c], edx
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov eax, edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x6c], ecx
sub esi, edx
lea edx, [ecx + esi]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call fcn.004691a0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x6c]
jmp 0x4fb143
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x70]
mov edi, eax
mov eax, dword [esp + 0x80]
mov eax, edx
mov edx, ebx
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x80]
jmp 0x4fafcb
xor ebp, ebp
mov esi, dword [esp + 0x44]
jmp 0x4fb184
mov edi, dword [esp + 0x54]
lea ebp, [edi + 1]
mov ecx, dword [esp + 0x74]
mov edx, eax
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x88]
cmp edi, ebp
jle 0x4fb342
mov dword [esp + 0x54], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x44], esi
mov ecx, dword [esp + 0x84]
lea edx, [ecx + ebp*4]
movzx ebx, byte [edx]
movzx esi, byte [edx + 1]
movzx edi, byte [edx + 2]
movzx edx, byte [edx + 3]
mov byte [esp + 0x40], bl
xchg esi, eax
mov byte [esp + 0x41], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x42], al
xchg edi, eax
mov byte [esp + 0x43], dl
mov edx, dword [eax + 0x74]
mov dword [esp], edx
mov byte [esp + 4], bl
call fcn.0050cd80
movzx eax, byte [esp + 8]
movzx ecx, byte [esp + 9]
movzx edx, byte [esp + 0xa]
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], dl
lea eax, [0x538380]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
lea edx, [esp + 0x2d]
mov dword [esp + 8], edx
call fcn.0040d3f0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx]
mov byte [esp + 0x27], cl
test al, al
je 0x4fb23d
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x4fb170
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4fb2e4
mov byte [esp + 0x25], 0
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax]
mov byte [esp + 0x25], cl
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
dec ebx
mov dword [esp + 0x48], ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov dword [esp + 0x50], ebx
lea esi, [esp + 0x41]
mov dword [esp + 8], esi
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x25]
mov byte [eax], cl
movzx eax, byte [esp + 0x40]
mov byte [esp + 0x27], al
lea eax, [0x52bea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
lea edx, [esp + 0x25]
mov dword [esp + 8], edx
call fcn.0040d770
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x27]
mov byte [eax], cl
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x44]
lea esi, [eax - 1]
mov eax, dword [esp + 0x48]
jmp 0x4fb170
lea eax, [0x54f440]
mov dword [esp], eax
mov dword [esp + 4], 0x21
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a1ec0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x7c
ret
inc ebx
cmp edx, ebx
jle 0x4fb13f
lea ebp, [ecx + ebx]
cmp byte [ebp], al
jne 0x4fb36e
jmp 0x4fb09a
call fcn.00467460
jmp fcn.004fa9d0