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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x100]
cmp eax, dword [ecx + 8]
jbe 0x5d30f9
sub esp, 0x180
mov eax, dword [esp + 0x188]
test eax, eax
je 0x5d280f
mov eax, dword [eax + 8]
cmp eax, 0x9eaa9ae
jne 0x5d27d9
mov eax, dword [esp + 0x188]
lea ecx, [0x618800]
cmp eax, ecx
jne 0x5d2807
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor ebx, ebx
jmp 0x5d2815
cmp eax, 0x4b6059d3
jne 0x5d2807
mov eax, dword [esp + 0x188]
lea ecx, [0x618580]
cmp eax, ecx
jne 0x5d2807
mov edx, dword [esp + 0x18c]
mov ebx, dword [edx]
test ebx, ebx
sete bl
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
jmp 0x5d2815
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5d2815
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], bl
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x184]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.005d1040
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 0x5d29cd
mov dword [esp + 0x138], ebp
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x184]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005d1040
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 0x5d2997
test ebx, ebx
jne 0x5d28fb
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5d2907
mov eax, dword [0x854c00]
mov ecx, dword [0x854c04]
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], ecx
add esp, 0x180
ret
mov eax, edx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x5d2912
mov ecx, edx
mov eax, ecx
mov edx, dword [esp + 0x138]
jmp 0x5d291c
test ebx, ebx
je 0x5d2961
mov eax, edx
mov ecx, ebx
mov edx, ebp
mov dword [esp + 0x13c], edx
mov dword [esp + 0x148], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x184]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x87ba98]
mov dword [esp + 0x144], edi
xor edi, edi
jmp 0x5d2a40
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], eax
add esp, 0x180
ret
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x180
ret
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x180
ret
lea edi, [edx + 1]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x13c]
mov edx, esi
mov esi, dword [esp + 0x184]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x144], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x148]
cmp ecx, edi
jbe 0x5d2ec6
mov dword [esp + 0x40], edi
lea edi, [esp + 0x158]
xor eax, eax
call fcn.00462936
mov ecx, dword [esp + 0x40]
mov edi, ebp
lea ebp, [edx + ecx*8]
mov ebx, dword [ebp]
test ebx, ebx
jbe 0x5d2d21
test ebx, 0x80000000
jbe 0x5d2b49
mov byte [esp + 0x162], 1
mov ebx, dword [ebp]
and ebx, 0xffff
mov dword [esp + 0x164], ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5d2abd
mov ebp, dword [esp + 0x138]
lea ebx, [ebp + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x168], ebx
lea ebx, [ebp + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x17c], ebx
jmp 0x5d2ac4
mov ebp, dword [esp + 0x138]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jae 0x5d2af0
lea ebx, [edi + ecx*8]
mov ebx, dword [ebx]
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], 0
lea ebx, [edi + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x178], ebx
mov eax, dword [esp + 0x164]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.004a5120
mov dword [esp], 0
lea eax, [0x659175]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0044e9d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
jmp 0x5d2d06
movzx ebx, byte [esp + 0x27]
test bl, bl
je 0x5d2ba2
lea edi, [esp + 0x58]
call fcn.00462908
mov ecx, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
lea edx, [0x652a00]
cmp ecx, edx
jne 0x5d30e2
lea edi, [esp + 0x58]
mov esi, ebx
call fcn.00462c20
mov ecx, dword [ebp]
sub ecx, dword [esp + 0x74]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
movzx ebx, byte [esp + 0x27]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jae 0x5d2be6
mov ebx, dword [esp + 0x138]
lea edx, [ebx + ecx*8]
mov edx, dword [edx]
and edx, 0x7fffffff
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], 0
lea edx, [ebx + ecx*8 + 4]
mov edx, dword [edx]
mov dword [esp + 0x17c], edx
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jae 0x5d2c18
lea ebx, [edi + ecx*8]
mov ebx, dword [ebx]
and ebx, 0x7fffffff
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], 0
lea ebx, [edi + ecx*8 + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x178], ebx
mov dword [esp + 0x150], ebp
mov eax, dword [ebp]
mov dword [esp], esi
and eax, 0x7fffffff
mov dword [esp + 4], eax
call fcn.005cf880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x184]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffe
cmp eax, edx
jbe 0x5d2c55
mov eax, dword [0x854c78]
xor edx, edx
jmp 0x5d2c8d
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5d30db
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 1
jbe 0x5d30cf
movzx edx, word [ebx + eax]
xor eax, eax
mov word [esp + 0x160], dx
test eax, eax
je 0x5d2ca3
mov word [esp + 0x160], 0xffff
mov eax, dword [esp + 0x150]
mov eax, dword [eax]
mov dword [esp], ecx
add eax, 2
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005cfcc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005cf350
movzx eax, byte [esp + 8]
test al, al
jne 0x5d2d06
lea ecx, [0x65ad31]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], 9
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov ebx, dword [esp + 0x15c]
mov ebp, dword [esp + 0x164]
test ebp, ebp
jne 0x5d2d72
test ebx, ebx
jne 0x5d2d72
mov ebx, dword [0x84f188]
mov dword [esp + 0x14c], ebx
mov ebp, dword [0x84f18c]
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 + 0x54], eax
xor eax, eax
jmp 0x5d2f86
mov ebx, dword [esp + 0x158]
cmp dword [esp + 0x15c], 9
jne 0x5d2df3
mov dword [esp], ebx
lea eax, [0x65ad31]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
je 0x5d2dd8
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5d2dbf
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5d2dc3
jmp 0x5d2f07
mov edx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x144]
jmp 0x5d2a03
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov ebx, dword [esp + 0x34]
lea ebp, [ebx + 1]
mov edx, dword [esp + 0x38]
cmp edx, ebp
jae 0x5d2e55
lea eax, [0x649280]
mov dword [esp], eax
mov ecx, dword [esp + 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
mov dword [esp + 0x144], eax
xor eax, eax
mov dword [esp + 0x38], edx
mov ecx, dword [0x87bd00]
lea ebx, [ebx + ebx*4]
mov edx, dword [esp + 0x144]
lea ebx, [edx + ebx*8]
test ecx, ecx
jne 0x5d2e80
mov edi, ebx
lea esi, [esp + 0x158]
call fcn.00462dec
jmp 0x5d2eae
mov dword [esp + 0x50], ebp
lea eax, [0x649280]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
call fcn.00410890
xor eax, eax
mov edx, dword [esp + 0x144]
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x144]
jmp 0x5d2a03
mov eax, dword [esp + 0x144]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
add esp, 0x180
ret
lea eax, [0x631620]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x669d9a]
mov dword [eax], ecx
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
lea ecx, [0x6c375c]
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], eax
add esp, 0x180
ret
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x140]
mov ebx, dword [esp + 0x30]
mov edx, ebx
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x140]
mov ebx, dword [esp + 0x54]
cmp ebx, edx
jge 0x5d2ff1
lea ecx, [ecx + ebx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp edx, ebp
jne 0x5d2f64
mov dword [esp], ecx
mov eax, dword [esp + 0x14c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d2fd4
xor eax, eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
jmp 0x5d2f64
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x148]
jl 0x5d30bf
mov ecx, dword [esi + 0x274]
lea edx, [ecx + 1]
mov ebx, dword [esi + 0x270]
mov ebp, dword [esi + 0x278]
cmp ebp, edx
jae 0x5d3071
lea eax, [0x6282a0]
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.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x184]
mov dword [ebx + 0x278], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d3059
mov dword [ebx + 0x270], eax
jmp 0x5d3064
lea edi, [ebx + 0x270]
call fcn.004626c0
mov esi, ebx
mov edi, dword [esp + 0x148]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov dword [esi + 0x274], edx
mov edx, dword [0x84f188]
mov dword [esp + 0x154], edx
mov ebp, dword [0x84f18c]
lea edx, [ebx + ecx*8 + 4]
mov dword [edx], ebp
mov edx, dword [0x87bd00]
lea ecx, [ebx + ecx*8]
test edx, edx
jne 0x5d30ab
mov edx, dword [esp + 0x154]
mov dword [ecx], edx
jmp 0x5d30bf
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x154]
call fcn.004626c0
xor eax, eax
mov edi, edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x13c]
jmp 0x5d2d72
mov eax, 1
mov ecx, edx
call fcn.00462740
mov ecx, edx
call fcn.004627b0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
nop
call fcn.004612b0
jmp fcn.005d2780