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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x104]
cmp eax, dword [ecx + 8]
jbe 0x5b5158
sub esp, 0x184
mov eax, dword [esp + 0x18c]
test eax, eax
je 0x5b486f
mov eax, dword [eax + 8]
cmp eax, 0x9eaa9ae
jne 0x5b4839
mov eax, dword [esp + 0x18c]
lea ecx, [0x5f1800]
cmp eax, ecx
jne 0x5b4867
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor ebx, ebx
jmp 0x5b4875
cmp eax, 0x4b6059d3
jne 0x5b4867
mov eax, dword [esp + 0x18c]
lea ecx, [0x5f1580]
cmp eax, ecx
jne 0x5b4867
mov edx, dword [esp + 0x190]
mov ebx, dword [edx]
test ebx, ebx
sete bl
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
jmp 0x5b4875
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5b4875
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], bl
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x188]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.005b30a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5b4a2d
mov dword [esp + 0x148], ebp
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x188]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005b30a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x5b49f7
test ebp, ebp
jne 0x5b495b
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5b4967
mov eax, dword [0x7f81c0]
mov ecx, dword [0x7f81c4]
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], ecx
add esp, 0x184
ret
mov eax, edx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x5b4972
mov ecx, edx
mov eax, ecx
mov edx, dword [esp + 0x148]
jmp 0x5b497c
test ebp, ebp
je 0x5b49c1
mov eax, edx
mov ecx, ebp
mov edx, ebx
mov dword [esp + 0x13c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x14c], ebx
mov esi, dword [esp + 0x188]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x81da90]
mov dword [esp + 0x144], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
jmp 0x5b4aa0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], eax
add esp, 0x184
ret
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], edx
add esp, 0x184
ret
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], edx
add esp, 0x184
ret
lea edi, [edx + 1]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x13c]
mov edx, esi
mov esi, dword [esp + 0x188]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x144], eax
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x14c]
mov ebp, dword [esp + 0x44]
cmp ecx, edi
jbe 0x5b4f24
mov dword [esp + 0x40], edi
lea edi, [esp + 0x15c]
xor eax, eax
call fcn.00462796
mov ecx, dword [esp + 0x40]
mov edi, ebx
lea ebx, [edx + ecx*8]
mov ebp, dword [ebx]
test ebp, ebp
jbe 0x5b4d81
test ebp, 0x80000000
jbe 0x5b4ba7
mov byte [esp + 0x166], 1
mov ebx, dword [ebx]
and ebx, 0xffff
mov dword [esp + 0x168], ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5b4b1b
mov ebp, dword [esp + 0x148]
lea ebx, [ebp + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x16c], ebx
lea ebx, [ebp + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x180], ebx
jmp 0x5b4b22
mov ebp, dword [esp + 0x148]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jae 0x5b4b4e
lea ebx, [edi + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x174], ebx
mov dword [esp + 0x178], 0
lea ebx, [edi + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x17c], ebx
mov eax, dword [esp + 0x168]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.004a2b70
mov dword [esp], 0
lea eax, [0x68b344]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0044da90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
jmp 0x5b4d66
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b4c00
lea edi, [esp + 0x5c]
call fcn.00462768
mov ecx, dword [esi + 0x78]
mov ebp, dword [esi + 0x7c]
lea edx, [0x62ad80]
cmp ecx, edx
jne 0x5b5141
lea edi, [esp + 0x5c]
mov esi, ebp
call fcn.00462a80
mov ecx, dword [ebx]
sub ecx, dword [esp + 0x78]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
movzx ebp, byte [esp + 0x27]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x14c]
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
jae 0x5b4c45
mov ebp, dword [esp + 0x148]
lea edx, [ebp + ecx*8]
mov edx, dword [edx]
and edx, 0x7fffffff
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], 0
lea edx, [ebp + ecx*8 + 4]
mov edx, dword [edx]
mov dword [esp + 0x180], edx
mov edx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
cmp ecx, ebp
jae 0x5b4c79
lea ebp, [edi + ecx*8]
mov ebp, dword [ebp]
and ebp, 0x7fffffff
mov dword [esp + 0x174], ebp
mov dword [esp + 0x178], 0
lea ebp, [edi + ecx*8 + 4]
mov ebp, dword [ebp]
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x158], ebx
mov eax, dword [ebx]
mov dword [esp], esi
and eax, 0x7fffffff
mov dword [esp + 4], eax
call fcn.005b1960
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x188]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5b4cb5
mov eax, dword [0x7f8238]
xor edx, edx
jmp 0x5b4ced
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5b513a
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 1
jbe 0x5b512e
movzx edx, word [ebx + eax]
xor eax, eax
mov word [esp + 0x164], dx
test eax, eax
je 0x5b4d03
mov word [esp + 0x164], 0xffff
mov eax, dword [esp + 0x158]
mov eax, dword [eax]
mov dword [esp], ecx
add eax, 2
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005b1d90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b1440
movzx eax, byte [esp + 8]
test al, al
jne 0x5b4d66
lea ecx, [0x634c24]
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], 9
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x14c]
mov ebx, dword [esp + 0x160]
mov ebp, dword [esp + 0x168]
test ebp, ebp
jne 0x5b4dd2
test ebx, ebx
jne 0x5b4dd2
mov ebx, dword [0x7f3058]
mov dword [esp + 0x150], ebx
mov ebp, dword [0x7f305c]
mov dword [esp + 0x48], ebp
mov edx, dword [esi + 0x274]
mov dword [esp + 0x30], edx
mov ecx, dword [esi + 0x270]
mov dword [esp + 0x140], ecx
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
jmp 0x5b4fe4
mov ebx, dword [esp + 0x15c]
cmp dword [esp + 0x160], 9
jne 0x5b4e53
mov dword [esp], ebx
lea eax, [0x634c24]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00402a70
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b4e38
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5b4e1f
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5b4e23
jmp 0x5b4f65
mov edx, dword [esp + 0x40]
inc ecx
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x144]
jmp 0x5b4a63
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x14c]
mov ebx, dword [esp + 0x34]
inc ebx
mov ebp, dword [esp + 0x38]
cmp ebp, ebx
jae 0x5b4eb9
mov eax, dword [esp + 0x144]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x61e3e0]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x14c]
mov dword [esp + 0x144], eax
mov ebp, ecx
xor eax, eax
mov ecx, dword [esp + 0x40]
lea edx, [ebx + ebx*4]
mov ecx, dword [esp + 0x144]
lea edx, [ecx + edx*8 - 0x28]
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x5b4ee1
mov edi, edx
lea esi, [esp + 0x15c]
call fcn.00462c4c
jmp 0x5b4f10
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebp
lea eax, [0x61e3e0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x15c]
mov dword [esp + 8], eax
call fcn.004106f0
xor eax, eax
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x144]
jmp 0x5b4a63
mov eax, dword [esp + 0x144]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
add esp, 0x184
ret
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6450e7]
mov dword [eax], ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], eax
add esp, 0x184
ret
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x140]
mov ebx, dword [esp + 0x30]
mov edx, ebx
mov ebx, dword [esp + 0x150]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x140]
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jge 0x5b504f
lea ecx, [ecx + ebx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp edx, ebp
jne 0x5b4fc2
mov dword [esp], ecx
mov eax, dword [esp + 0x150]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402a70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b5032
xor eax, eax
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x14c]
jmp 0x5b4fc2
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x14c]
jl 0x5b511e
mov ecx, dword [esi + 0x274]
inc ecx
mov edx, dword [esi + 0x270]
mov ebx, dword [esi + 0x278]
cmp ebx, ecx
jae 0x5b50d1
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5ff840]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x188]
mov dword [ebx + 0x278], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5b50b9
mov dword [ebx + 0x270], eax
jmp 0x5b50c4
lea edi, [ebx + 0x270]
call fcn.00462500
mov esi, ebx
mov edi, dword [esp + 0x14c]
mov edx, eax
xor eax, eax
mov dword [esi + 0x274], ecx
mov ebx, dword [0x7f3058]
mov dword [esp + 0x154], ebx
lea ebp, [edx + ecx*8 - 4]
mov ebx, dword [0x7f305c]
mov dword [ebp], ebx
lea ecx, [edx + ecx*8 - 8]
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5b510a
mov edx, dword [esp + 0x154]
mov dword [ecx], edx
jmp 0x5b511e
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x154]
call fcn.00462500
xor eax, eax
mov edi, edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
jmp 0x5b4dd2
mov eax, 1
mov ecx, edx
call fcn.00462580
mov ecx, edx
call fcn.004625f0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
nop
call fcn.004610f0
jmp fcn.005b47e0