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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x583978
sub esp, 0x90
mov eax, 0
mov dword [esp + 0x8c], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x98]
mov ebx, dword [edx + 4]
test ecx, 1
jne 0x583953
test ebx, 1
jne 0x583953
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
lea eax, [0x5f0640]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x5f0f00]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x22], 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x583990]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x22]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x23], 1
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x48]
jmp 0x583220
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x28]
cmp ebp, ecx
jl 0x583232
cmp dword [esp + 0x24], ebx
jge 0x58387c
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x24]
cmp esi, ebx
jl 0x5833b1
mov esi, dword [esp + 0x2c]
test esi, esi
jle 0x583289
mov edi, dword [eax + 4]
mov ebx, dword [eax]
cmp edi, ebp
jbe 0x58394a
mov ebx, dword [ebx + ebp*4]
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
cmp edi, esi
jbe 0x583941
lea ebp, [ebp + esi*4]
cmp dword [ebp], ebx
jl 0x583281
mov esi, dword [esp + 0x9c]
xor ebx, ebx
jmp 0x5833a8
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp esi, ebp
jbe 0x583938
mov ebx, dword [edi + ebp*4]
mov dword [esp + 0x3c], ebx
lea ebx, [ebp + 1]
cmp esi, ebx
jbe 0x58392f
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
add ebx, 2
mov ebp, dword [edi + ebp*4 + 4]
cmp esi, ebx
jb 0x5832c9
mov esi, dword [esp + 0x60]
jmp 0x583321
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 2
lea eax, [0x5f0640]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x38]
mov esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x74], ebx
mov edi, dword [esp + 0x3c]
mov dword [esi + ebx*4 - 8], edi
mov dword [esi + ebx*4 - 4], ebp
add dword [esp + 0x28], 2
add dword [esp + 0x2c], 2
mov ebx, dword [esp + 0x68]
inc ebx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
cmp esi, ebx
jae 0x583394
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f0f00]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x9c]
mov dword [ebp + ebx*4 - 4], esi
mov ebx, 1
mov byte [esp + 0x22], bl
jmp 0x58380a
mov dword [esp + 0x34], esi
cmp ebp, ecx
jl 0x583532
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jle 0x583403
mov edi, dword [edx + 4]
mov ebx, dword [edx]
cmp edi, esi
jbe 0x583926
mov ebx, dword [ebx + esi*4]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
cmp edi, ebp
jbe 0x58391d
lea ebp, [esi + ebp*4]
cmp dword [ebp], ebx
jl 0x5833fb
mov esi, dword [esp + 0xa0]
xor ebx, ebx
jmp 0x583522
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x34]
mov ebp, dword [edx + 4]
mov edi, dword [edx]
cmp ebp, esi
jbe 0x583914
mov ebx, dword [edi + esi*4]
mov dword [esp + 0x3c], ebx
lea ebx, [esi + 1]
cmp ebp, ebx
jbe 0x58390b
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
add ebx, 2
mov esi, dword [edi + esi*4 + 4]
cmp ebp, ebx
jb 0x583443
mov ebp, dword [esp + 0x5c]
jmp 0x58349b
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 2
lea eax, [0x5f0640]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x38]
mov ebp, ebx
mov ebx, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x74], ebx
mov edi, dword [esp + 0x3c]
mov dword [ebp + ebx*4 - 8], edi
mov dword [ebp + ebx*4 - 4], esi
add dword [esp + 0x24], 2
add dword [esp + 0x2c], 2
mov ebx, dword [esp + 0x68]
inc ebx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
cmp esi, ebx
jae 0x58350e
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f0f00]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0xa0]
mov dword [ebp + ebx*4 - 4], esi
mov ebx, 1
mov byte [esp + 0x22], bl
mov esi, dword [esp + 0x9c]
jmp 0x58380a
mov edi, dword [edx + 4]
mov ebx, dword [edx]
cmp edi, esi
jbe 0x583902
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], ebx
mov ebx, dword [ebx + esi*4]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp edi, ebp
jbe 0x5838f9
mov dword [esp + 0x54], esi
mov esi, dword [esi + ebp*4]
cmp esi, ebx
jle 0x5836bb
mov ebp, dword [esp + 0x2c]
test ebp, ebp
jle 0x583594
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
cmp ebp, esi
jae 0x5838f0
lea ebp, [edi + ebp*4]
cmp dword [ebp], ebx
jl 0x583594
mov esi, dword [esp + 0xa0]
xor ebx, ebx
jmp 0x5836ab
mov ebp, dword [esp + 0x34]
lea esi, [ebp + 1]
mov edi, dword [esp + 0x30]
cmp edi, esi
jbe 0x5838e7
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
add ebx, 2
mov esi, dword [esp + 0x58]
mov ebp, dword [esi + ebp*4 + 4]
cmp edi, ebx
jb 0x5835d0
mov esi, dword [esp + 0x50]
jmp 0x583624
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 2
lea eax, [0x5f0640]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x74], ebx
mov edi, dword [esp + 0x3c]
mov dword [esi + ebx*4 - 8], edi
mov dword [esi + ebx*4 - 4], ebp
add dword [esp + 0x24], 2
add dword [esp + 0x2c], 2
mov ebx, dword [esp + 0x68]
inc ebx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
cmp esi, ebx
jae 0x583697
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f0f00]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0xa0]
mov dword [ebp + ebx*4 - 4], esi
mov ebx, 1
mov byte [esp + 0x22], bl
mov esi, dword [esp + 0x9c]
jmp 0x58380a
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jle 0x5836f5
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
cmp ebx, edi
jae 0x5838de
lea ebx, [ebp + ebx*4]
cmp dword [ebx], esi
jl 0x5836ed
mov esi, dword [esp + 0x9c]
xor ebx, ebx
jmp 0x583806
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
lea ebx, [ebp + 1]
cmp edi, ebx
jbe 0x5838d5
mov dword [esp + 0x3c], esi
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
add esi, 2
mov ebx, dword [esp + 0x54]
mov ebx, dword [ebx + ebp*4 + 4]
cmp edi, esi
jb 0x583729
mov ebp, dword [esp + 0x4c]
jmp 0x58377f
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 2
lea eax, [0x5f0640]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov ebp, ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x74], esi
mov edi, dword [esp + 0x3c]
mov dword [ebp + esi*4 - 8], edi
mov dword [ebp + esi*4 - 4], ebx
add dword [esp + 0x28], 2
add dword [esp + 0x2c], 2
mov ebx, dword [esp + 0x68]
inc ebx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
cmp esi, ebx
jae 0x5837f2
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x5f0f00]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x9c]
mov dword [ebp + ebx*4 - 4], esi
mov ebx, 1
mov byte [esp + 0x22], bl
movzx ebx, byte [esp + 0x22]
test bl, bl
jne 0x58321c
mov eax, dword [0x7b76a8]
mov ecx, dword [0x7b7698]
mov ebx, dword [0x7b76ac]
mov ebp, dword [0x7b769c]
mov esi, dword [0x7b76a0]
mov edi, dword [0x7b76b0]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], esi
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], esi
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov eax, ebx
mov ecx, edi
call fcn.004638e0
mov eax, ebx
mov ecx, edi
call fcn.004638e0
mov eax, esi
mov ecx, edi
call fcn.004638e0
mov eax, ebp
mov ecx, esi
call fcn.004638e0
mov eax, ebp
mov ecx, edi
call fcn.004638e0
mov eax, esi
mov ecx, edi
call fcn.004638e0
mov eax, ebx
mov ecx, ebp
call fcn.004638e0
mov eax, esi
mov ecx, ebp
call fcn.004638e0
mov eax, ebp
mov ecx, edi
call fcn.004638e0
mov eax, esi
mov ecx, edi
call fcn.004638e0
mov eax, ebx
mov ecx, esi
call fcn.004638e0
mov eax, ebp
mov ecx, esi
call fcn.004638e0
mov eax, esi
mov ecx, edi
call fcn.004638e0
mov eax, ebp
mov ecx, edi
call fcn.004638e0
lea eax, [0x5f0dc0]
mov dword [esp], eax
lea eax, [0x6746a8]
mov dword [esp + 4], eax
call fcn.00435790
nop
call fcn.00434d40
add esp, 0x90
ret
call fcn.00462450
jmp fcn.00583070