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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2b4]
cmp eax, dword [ecx + 8]
jbe 0x5fb08e
sub esp, 0x334
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5fa513
nop
movzx ebx, byte [0x98a3a0]
test bl, bl
je 0x5fa4d9
mov dword [0x98a3a4], edx
mov ebx, dword [0x9b1930]
test ebx, ebx
jne 0x5fa4ce
mov dword [0x98a3a8], eax
jmp 0x5fa4d9
lea edi, [0x98a3a8]
call fcn.00463350
mov dword [esp + 0x278], edx
mov dword [esp + 0x27c], eax
mov edx, dword [esp + 0x278]
test edx, edx
je 0x5fa50b
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5fa519
or ebx, 0x80
jmp 0x5fa519
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5fa519
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1f
call fcn.004be890
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x64], eax
cmp eax, 9
ja 0x5fa56c
cmp eax, 7
jne 0x5fa550
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5fa592
cmp eax, 8
jne 0x5fa55c
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5fa592
cmp eax, 9
jne 0x5fb053
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5fa592
cmp eax, 0xa
jne 0x5fa577
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5fa592
cmp eax, 0xb
jne 0x5fa585
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5fa592
cmp eax, 0xc
jne 0x5fb053
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5fab32
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x338]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5fa5f9
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004635e8
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x70dea0]
cmp ecx, ebx
jne 0x5fb03d
lea edi, [esp + 0x98]
call fcn.00463900
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
jmp 0x5fa634
lea edi, [esp + 0x178]
xor eax, eax
call fcn.004635e4
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x70d960]
cmp ecx, ebx
jne 0x5fb027
lea edi, [esp + 0x178]
call fcn.004638d8
mov ecx, dword [esp + 0x190]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005f3600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5fa662
mov edx, dword [0x989b18]
xor ebx, ebx
jmp 0x5fa69a
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5fb020
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x5fb014
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x5fab20
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ebx
lea eax, [0x705280]
mov dword [esp], eax
call fcn.0040b7f0
mov esi, dword [esp + 4]
mov dword [esp + 0x270], esi
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x5fa791
cmp eax, 2
je 0x5fa753
cmp eax, 3
jne 0x5fa718
lea edi, [esp + 0x68]
call fcn.00463ab8
lea eax, [0x705280]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x705280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c6150
mov eax, dword [esp + 8]
jmp 0x5fa7cd
lea edi, [esp + 0x68]
call fcn.00463ab8
lea eax, [0x705280]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x705280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c6150
mov eax, dword [esp + 8]
jmp 0x5fa7cd
lea edi, [esp + 0x68]
call fcn.00463ab8
lea eax, [0x705280]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x705280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c6150
mov eax, dword [esp + 8]
add eax, 0xfffffffc
jmp 0x5fa7cd
lea edi, [esp + 0x68]
call fcn.00463ab8
lea eax, [0x705280]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x705280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c6150
mov eax, dword [esp + 8]
add eax, 0xfffffff8
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
cmp ecx, edx
setb bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x5faaae
mov ebx, dword [esp + 0x338]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, ecx
jbe 0x5fa801
cmp ebp, edx
jae 0x5fa86c
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x6cd520]
mov dword [esp + 0x280], eax
lea eax, [0x79cca4]
mov dword [esp + 0x284], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00533d10
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.00463ab8
lea eax, [0x705280]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x705280]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c6150
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x6cd7a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044b8f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jb 0x5fb00d
mov esi, dword [esp + 0x50]
cmp esi, ebp
ja 0x5fb004
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
add edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jl 0x5fa912
mov ebx, ebp
mov dword [esp + 0x26c], eax
cmp eax, edx
je 0x5fa92d
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00463d10
lea eax, [0x6ea820]
mov dword [esp], eax
call fcn.0040b7f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0x9b1930]
test eax, eax
jne 0x5fa95e
mov eax, dword [esp + 0x26c]
mov dword [edi], eax
jmp 0x5fa96a
mov eax, dword [esp + 0x26c]
call fcn.00463350
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x79d394]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x79f690]
mov dword [esp + 8], eax
lea eax, [0x9b1698]
mov dword [esp + 0xc], eax
lea eax, [0x6b87e0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x14], eax
call fcn.004c4de0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5faa3c
lea eax, [0x6ebda0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x274], eax
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.00463ab8
lea ecx, [0x705280]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.00408fe0
mov eax, dword [esp + 8]
lea ecx, [0x705280]
mov edx, dword [esp + 0x274]
mov dword [edx], ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x5faa23
mov dword [edx + 4], eax
jmp 0x5faa2b
lea edi, [edx + 4]
call fcn.00463350
mov eax, dword [esp + 0x270]
mov ecx, dword [eax + 4]
xor ebx, ebx
jmp 0x5fab89
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x6cd520]
mov dword [esp + 0x280], eax
lea eax, [0x79ccac]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00533d10
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x6cd520]
mov dword [esp + 0x280], eax
lea eax, [0x79cca4]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00533d10
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
lea edi, [esi + 1]
mov dword [eax + 0xc], edi
lea esi, [esi + esi*2]
mov dword [ecx + esi*4], ebp
mov dword [ecx + esi*4 + 4], edx
mov ebp, dword [esp + 0x60]
test ebp, 1
xchg ebp, ebx
setne bl
xchg ebp, ebx
lea esi, [ecx + esi*4 + 8]
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
mov ebp, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x40]
lea ecx, [ebp + 8]
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
cmp dword [eax + 8], ebx
jle 0x5fad18
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x338]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005f3600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5fabcf
mov ebx, dword [0x989b18]
xor ebp, ebp
jmp 0x5fac06
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5faffd
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5faff1
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5fad0a
test ebp, 1
je 0x5fac1d
mov ebx, ebp
and ebp, 0xfffffffe
jmp 0x5fac1f
mov ebx, ebp
mov dword [esp + 0x60], ebx
lea esi, [eax + 4]
cmp edx, esi
jae 0x5fac34
mov eax, dword [0x989b18]
xor edx, edx
jmp 0x5fac71
mov edx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebx, dword [ecx + 0x290]
cmp edx, esi
jb 0x5fafe8
sub ebx, eax
sub edx, eax
add ebx, 0xfffffffc
neg ebx
sar ebx, 0x1f
and esi, ebx
add edx, 0xfffffffc
cmp edx, 3
jbe 0x5fafdc
mov edx, dword [esi + edi]
mov ebx, dword [esp + 0x60]
xor eax, eax
test eax, eax
jne 0x5facfa
mov eax, dword [esp + 0x274]
mov esi, dword [eax + 0xc]
lea edi, [esi + 1]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
cmp ebx, edi
jae 0x5fab44
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x6eb9a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.0044baf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x274]
mov dword [ebx + 0x10], edx
mov edx, dword [0x9b1930]
test edx, edx
jne 0x5facdf
mov dword [ebx + 8], eax
jmp 0x5face7
lea edi, [ebx + 8]
call fcn.00463350
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov ecx, eax
mov eax, ebx
jmp 0x5fab44
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
jmp 0x5fad18
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5fad23
xor ecx, ecx
jmp 0x5fad44
mov dword [esp + 0x33c], edx
add esp, 0x334
ret
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
lea ebx, [edx + 4]
mov edx, dword [esp + 0x274]
mov eax, ebx
cmp ecx, 0x400
jge 0x5fad23
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x338]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005f3600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5fad89
mov edx, dword [0x989b18]
xor ebx, ebx
jmp 0x5fadc0
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5fafd5
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x5fafc9
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x5faef1
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x2b0]
xor eax, eax
call fcn.00463615
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0xb0]
mov ebp, dword [ecx + 0xac]
test edx, edx
je 0x5fadfc
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x5faf13
lea edi, [esp + 0x2b0]
call fcn.00463615
lea edi, [esp + 0x2dc]
lea esi, [esp + 0x2b0]
call fcn.00463ac2
mov ecx, dword [esp + 0x2e0]
mov edx, dword [esp + 0x2e4]
mov ebp, dword [esp + 0x274]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov edi, edx
lea edx, [ecx + 1]
mov ebx, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x1c]
cmp ebp, edx
jae 0x5faea9
mov dword [esp + 0x268], esi
mov dword [esp + 0x5c], edi
lea eax, [0x6eba20]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044baf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x274]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x9b1930]
test edx, edx
jne 0x5fae92
mov dword [ebx + 0x14], eax
jmp 0x5fae9a
lea edi, [ebx + 0x14]
call fcn.00463350
mov esi, dword [esp + 0x268]
mov edi, dword [esp + 0x5c]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov ebp, dword [esp + 0x274]
mov dword [ebp + 0x18], edx
shl ecx, 4
mov edx, dword [esp + 0x3c]
mov dword [ebx + ecx], edx
mov ebp, dword [esp + 0x28]
mov dword [ebx + ecx + 4], ebp
mov dword [ebx + ecx + 0xc], edi
mov ebp, dword [0x9b1930]
lea edi, [ebx + ecx + 8]
test ebp, ebp
jne 0x5faee3
mov dword [ebx + ecx + 8], esi
jmp 0x5fad31
mov eax, esi
call fcn.00463350
xor eax, eax
jmp 0x5fad31
mov edx, dword [esp + 0x274]
jmp 0x5fad23
add ebp, 0x2c
mov ebx, dword [esp + 0x3c]
mov ebx, esi
mov esi, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x338]
mov dword [esp + 0x5c], edi
lea edi, [esp + 0x308]
mov esi, ebp
call fcn.00463ac2
mov ecx, dword [esp + 0x318]
mov esi, ebx
mov ebx, dword [esp + 0x314]
test ecx, ecx
je 0x5faf4b
mov dword [esp + 0x58], ecx
mov edi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5faf77
mov ecx, dword [esp + 0x5c]
inc ecx
cmp edx, ecx
jg 0x5faefd
mov ecx, dword [esp + 0x338]
mov ebx, esi
jmp 0x5fadfc
add ebx, 0x28
mov ecx, edx
mov edx, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], ebp
mov ebp, esi
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x288]
mov esi, ebx
call fcn.00463acc
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x2a8], ecx
je 0x5fafad
mov esi, ebp
mov ebp, dword [esp + 0x20]
inc ebp
mov edi, edx
mov edx, dword [esp + 0x58]
cmp edx, ebp
jg 0x5faf62
mov edx, edi
mov ebp, esi
mov esi, dword [esp + 0x28]
jmp 0x5faf4b
lea edi, [esp + 0x2b0]
lea esi, [esp + 0x308]
call fcn.00463ac2
mov ebx, dword [esp + 0x28]
jmp 0x5fae08
mov eax, 3
mov ecx, edx
call fcn.004633d0
mov ecx, edx
call fcn.00463440
mov eax, 3
mov ecx, edx
call fcn.004633d0
mov eax, esi
mov ecx, edx
call fcn.00463440
mov eax, 3
mov ecx, ebx
call fcn.004633d0
mov ecx, ebx
call fcn.00463440
mov eax, esi
mov ecx, ebp
call fcn.00463440
mov ecx, ebp
call fcn.00463420
mov eax, 3
mov ecx, edx
call fcn.004633d0
mov ecx, edx
call fcn.00463440
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x6ccda0]
mov dword [esp + 8], eax
call fcn.00408e20
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x6ccda0]
mov dword [esp + 8], eax
call fcn.00408e20
lea eax, [0x6e3260]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x71ecf0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x6d7140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437060
nop
call fcn.00461f40
jmp fcn.005fa470