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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x584510
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x583ef0
movzx ecx, byte [eax + 0x4c]
test cl, cl
je 0x5844be
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
xor ebx, ebx
xor ebp, ebp
jmp 0x583f01
inc ebx
lea ebp, [ebp + esi + 1]
cmp ebx, ecx
jge 0x583f69
lea esi, [edx + ebx*8]
mov esi, dword [esi + 4]
test esi, esi
je 0x583f17
cmp esi, 0xff
jle 0x583efc
lea eax, [0x7d00e0]
mov dword [esp], eax
call fcn.00409c40
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0xb92b90]
test eax, eax
jne 0x583f5c
lea eax, [0x842b39]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8b2890]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
lea eax, [0x842b39]
call fcn.0044c990
jmp 0x583f42
cmp ebp, 0xffff
jg 0x58446c
movzx ecx, word [eax + 0x8a]
test cx, cx
jne 0x583f86
mov ecx, 0x303
mov word [esp + 0x20], cx
lea eax, [0x7b4b60]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.00438a20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x40]
mov esi, dword [ebx + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00588960
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x94]
mov ebp, dword [edx + 0x90]
mov esi, dword [edx + 0x8c]
test ebp, ebp
jne 0x584013
mov ebx, dword [0xb789e8]
mov ebp, dword [0xb789e4]
mov esi, dword [0xb789e0]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x64], esi
mov eax, dword [edx + 0x34]
mov dword [esp + 0x40], eax
lea ecx, [0x820900]
mov dword [esp], ecx
call fcn.00409c40
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
movzx ecx, word [esp + 0x20]
mov word [eax + 0xc], cx
lea ecx, [0x7a04a0]
mov dword [esp], ecx
call fcn.00409c40
mov eax, dword [esp + 4]
movzx ecx, byte [0x8b047a]
mov byte [eax], cl
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0xb92b90]
test edx, edx
jne 0x58445f
mov dword [ecx + 0x34], eax
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x14], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x18], edx
mov edx, dword [0xb92b90]
test edx, edx
jne 0x58444e
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x10], edx
mov word [ecx + 0x4c], 0x101
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x48], edx
mov edx, dword [0xb92b90]
test edx, edx
jne 0x58443d
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x44], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x54], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x58], edx
mov edx, dword [0xb92b90]
test edx, edx
jne 0x58442c
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x50], eax
lea eax, [0x7a04a0]
mov dword [esp], eax
call fcn.00409c40
mov eax, dword [esp + 4]
movzx ecx, byte [0x8b047b]
mov byte [eax], cl
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x60], 1
mov dword [ecx + 0x64], 1
mov edx, dword [0xb92b90]
test edx, edx
jne 0x58441f
mov dword [ecx + 0x5c], eax
mov edx, dword [esp + 0x40]
test edx, edx
setg dl
mov byte [ecx + 0x40], dl
mov byte [ecx + 0x90], 1
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x34]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x98], ebp
mov dword [ecx + 0x9c], ebx
mov ebx, dword [0xb92b90]
test ebx, ebx
jne 0x58440f
mov dword [ecx + 0x94], eax
mov dword [esp], edx
call fcn.0057de70
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
lea edx, [0x7b4aa0]
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00438a20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edx
mov eax, dword [0xb92b90]
lea edi, [ebx + 0x28]
test eax, eax
jne 0x584403
mov dword [ebx + 0x28], ecx
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
xor edx, edx
jmp 0x58423c
inc eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x38]
cmp eax, esi
jge 0x584225
mov ecx, dword [edi + eax*4]
movzx edx, word [ecx]
cmp dx, bp
jne 0x5841d1
movzx edx, word [ebx + 0xc]
cmp dx, 0x303
jae 0x58420b
mov ecx, dword [ecx + 0x14]
test ecx, 4
jne 0x5841d1
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
mov edx, dword [ebx + 0x28]
mov esi, dword [ebx + 0x30]
cmp ecx, esi
jg 0x58426b
lea ecx, [eax + 1]
mov dword [ebx + 0x2c], ecx
mov word [edx + eax*2], bp
mov ebp, dword [esp + 0x3c]
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
mov eax, ebp
mov ecx, esi
mov edi, dword [esp + 0x60]
cmp edx, ecx
jge 0x5842c7
mov dword [esp + 0x3c], edx
movzx ebp, word [eax + edx*2]
mov esi, dword [0xb789c4]
mov edi, dword [0xb789c0]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
jmp 0x5841e2
mov word [esp + 0x22], bp
lea ebx, [0x7b4aa0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.00438ba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x30], edx
mov edx, dword [0xb92b90]
test edx, edx
jne 0x5842bc
mov dword [ebx + 0x28], eax
movzx ebp, word [esp + 0x22]
mov edx, eax
mov eax, ecx
jmp 0x58421b
mov edi, dword [esp + 0x60]
call fcn.0044c990
jmp 0x5842ae
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
je 0x5843f2
mov edx, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0x18]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004600f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x58435e
mov ecx, dword [esp + 0x54]
movzx edx, word [ecx + 0xc]
cmp dx, 0x303
jb 0x58433c
mov eax, dword [0xb78a20]
mov edx, dword [0xb78a24]
mov ebx, dword [0xb78a28]
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x80], ebx
mov edx, dword [0xb92b90]
test edx, edx
jne 0x584354
mov dword [ecx + 0x78], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
lea edi, [ecx + 0x78]
call fcn.0044c990
jmp 0x58433c
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x8418b1]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043bd30
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
lea edx, [0x7d00e0]
mov dword [esp], edx
call fcn.00409c40
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0xb92b90]
test eax, eax
jne 0x5843e7
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8b2890]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
mov eax, dword [esp + 0x4c]
call fcn.0044c990
jmp 0x5843cd
mov ecx, dword [0xb80194]
mov eax, dword [0xb80190]
jmp 0x5842d8
mov eax, ecx
call fcn.0044c990
jmp 0x5841c1
lea edi, [ecx + 0x94]
call fcn.0044c990
jmp 0x584169
lea edi, [ecx + 0x5c]
call fcn.0044c990
jmp 0x584129
lea edi, [ecx + 0x50]
mov eax, dword [esp + 0x64]
call fcn.0044c990
jmp 0x5840eb
lea edi, [ecx + 0x44]
mov eax, dword [esp + 0x58]
call fcn.0044c990
jmp 0x5840c8
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x5c]
call fcn.0044c990
jmp 0x5840a6
lea edi, [ecx + 0x34]
call fcn.0044c990
jmp 0x584083
lea eax, [0x7d00e0]
mov dword [esp], eax
call fcn.00409c40
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov eax, dword [0xb92b90]
test eax, eax
jne 0x5844b1
lea eax, [0x8445a0]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8b2890]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
lea eax, [0x8445a0]
call fcn.0044c990
jmp 0x584497
lea eax, [0x7d00e0]
mov dword [esp], eax
call fcn.00409c40
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x50
mov eax, dword [0xb92b90]
test eax, eax
jne 0x584503
lea eax, [0x850dac]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8b2890]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
lea eax, [0x850dac]
call fcn.0044c990
jmp 0x5844e9
call fcn.0044b230
jmp fcn.00583ec0