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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x584531
sub esp, 0xf8
mov eax, 0
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 4], ecx
call fcn.00582dd0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
test ebx, ebx
jne 0x583e59
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x584580]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x94]
mov dword [esp + 0xf4], ecx
mov byte [esp + 0x2b], 1
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.00461345
mov dword [esp + 0xc4], 0x2c
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
test edx, edx
jne 0x583e23
mov dword [esp + 0x48], 0
mov dword [esp + 0x48], 1
mov edx, 1
lea ebx, [esp + 0x48]
mov dword [esp + 0x38], edx
mov dword [esp + 0x74], ebx
lea eax, [0x5da4e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x583e94
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
add esp, 0xf8
ret
mov ecx, dword [esp + 0x50]
inc ecx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov edi, ebp
mov ebp, ecx
mov ecx, edi
cmp ebp, ebx
jge 0x583f81
mov edx, dword [edx + ebp*4]
test edx, edx
je 0x583f7d
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], esi
mov eax, dword [0x7ba26c]
lea ecx, [0x5e5de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040df20
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
movzx edx, byte [esp + 0x10]
test dl, dl
je 0x583f6c
test eax, eax
jbe 0x58451b
mov edx, dword [esp + 0x2c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x583f06
mov eax, dword [esp + 0x68]
jmp 0x583f45
mov dword [esp + 0x6c], ecx
lea eax, [0x5da4e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov ebp, edx
mov edx, dword [esp + 0x2c]
mov esi, ebx
mov ebx, dword [0x7e1c20]
lea edi, [eax + edx*4]
test ebx, ebx
jne 0x583f5c
mov dword [eax + edx*4], ecx
jmp 0x583e81
mov edx, eax
mov eax, ecx
call fcn.004610d0
mov eax, edx
jmp 0x583e81
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
jmp 0x583e81
xor esi, esi
xor eax, eax
test eax, eax
je 0x583fa8
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], esi
test esi, esi
jbe 0x584512
mov dword [esp + 0xd0], eax
jmp 0x583fc9
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0x100]
lea esi, [ecx + 0x10]
mov dword [esp + 0x88], esi
lea edi, [esp + 0xb0]
call fcn.0046182e
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
test edx, 0x80000000
je 0x584028
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or edx, ecx
mov ecx, ebx
shl ebx, 1
mov ebp, edx
shl edx, 1
shr ebx, 0x1f
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
jmp 0x584036
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
test ebp, ebp
sete dl
test ebx, ebx
sete bl
and edx, ebx
test dl, dl
je 0x584051
test ecx, 0x3fffffff
sete cl
jmp 0x584053
xor ecx, ecx
xor ecx, 1
test cl, cl
je 0x584138
lea edi, [esp + 0x9c]
mov esi, dword [esp + 0x88]
call fcn.0046182e
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
test edx, 0x80000000
je 0x5840b3
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or ecx, edx
mov edx, ebx
shl ebx, 1
mov ebp, ecx
shl ecx, 1
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add ecx, 0xd7b17f80
adc ebp, 0xd
jmp 0x5840c3
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
mov edx, ecx
mov eax, 0x3b9aca00
mov ecx, edx
mul ebx
and ecx, 0x3fffffff
mov ebx, eax
add eax, ecx
mov esi, eax
add eax, 0x3d1a0000
imul ebp, ebp, 0x3b9aca00
add edx, ebp
mov ebp, ecx
sar ecx, 0x1f
add ebx, ebp
adc edx, ecx
add esi, 0x3d1a0000
adc edx, 0xa1b203eb
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x64
call fcn.0045c6c0
mov ecx, dword [esp + 0x10]
add ecx, 0xd53e8000
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
adc edx, 0x19db1de
mov dword [esp + 0x58], edx
lea eax, [esp + 0x54]
jmp 0x58413a
xor eax, eax
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x10]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [esp + 0xc4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], eax
call fcn.004704d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
test edx, edx
jne 0x584332
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x584540]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0xf0], eax
mov byte [esp + 0x2b], 3
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 8], eax
call fcn.005838e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x84], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x5c], esi
test eax, eax
je 0x584239
mov eax, esi
mov edi, ebp
jmp 0x584307
mov dword [esp + 0x78], ecx
mov eax, esi
mov esi, dword [esp + 0x108]
mov edi, ebp
lea ebp, [esi + 1]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x10c]
cmp ecx, ebp
jb 0x58426d
mov ecx, dword [esp + 0x80]
jmp 0x5842c7
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x5dab00]
mov dword [esp], eax
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0044a7d0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x104], ecx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x84]
lea ebp, [esi + 1]
mov dword [esp + 0x108], ebp
lea ebp, [esi + esi*2]
mov dword [ecx + ebp*4 + 4], edx
mov dword [ecx + ebp*4 + 8], ebx
mov esi, dword [0x7e1c20]
mov edx, ecx
lea ecx, [ecx + ebp*4]
test esi, esi
jne 0x5842f4
mov ecx, dword [esp + 0x78]
mov dword [edx + ebp*4], ecx
jmp 0x584307
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x78]
call fcn.004610d0
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x14]
test edx, edx
jbe 0x58436a
mov ecx, dword [ecx + 0x18]
test byte [ecx], al
cmp edx, 0x100000
ja 0x584508
mov dword [esp + 0x34], edx
mov dword [esp + 0x70], ecx
xor ebx, ebx
jmp 0x584422
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
call eax
add esp, 0xf8
ret
mov ecx, dword [esp + 0x108]
test ecx, ecx
jne 0x5843cb
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], eax
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
call eax
add esp, 0xf8
ret
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xf0]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
call eax
add esp, 0xf8
ret
mov ebp, dword [esp + 0x50]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x84]
cmp ebx, edx
jge 0x58436a
mov dword [esp + 0x50], ebx
mov eax, dword [ecx + ebx*4]
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 8], eax
call fcn.005838e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x584408
mov ebp, dword [esp + 0x108]
lea esi, [ebp + 1]
mov eax, ecx
mov ecx, dword [esp + 0x104]
mov edi, ebx
mov ebx, dword [esp + 0x10c]
cmp ebx, esi
jae 0x5844d3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x7c], eax
lea eax, [0x5dab00]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0044a7d0
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x104], ecx
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov dword [esp + 0x108], ebx
lea ebx, [ebp + ebp*2]
mov dword [ecx + ebx*4 + 4], edx
mov dword [ecx + ebx*4 + 8], edi
mov ebp, dword [0x7e1c20]
lea edi, [ecx + ebx*4]
test ebp, ebp
jne 0x5844fe
mov dword [ecx + ebx*4], eax
jmp 0x584408
call fcn.004610d0
jmp 0x584408
mov ebx, 0x100000
call fcn.004611e0
xor eax, eax
mov ecx, eax
call fcn.00461150
xor eax, eax
mov ecx, eax
call fcn.00461150
nop
call fcn.00435360
add esp, 0xf8
ret
call fcn.0045fcc0
jmp fcn.00583cf0