Function at 0x582ef4
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8d7c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
call fcn.007865e8
mov dword [ebp - 4], 0
push fcn.005770ec
push fcn.0057713c
mov eax, dword [ebp - 0x24]
mov dword [eax], 0xb07860
add eax, 0x408
push 4
push 0x1c
push eax
call fcn.00858736
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x9bf3e0]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2e8]
mov esi, dword [ecx]
mov dword [ecx + 4], eax
push ebx
or edx, 2
mov dword [ecx + 0x2e8], edx
call dword [esi + 0x14c]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0x150]
mov ecx, dword [0xa742a4]
push 0
call fcn.005b8624
mov edx, dword [ebp - 0x24]
mov ecx, dword [0xa742a4]
push 0
mov dword [edx + 0x24], eax
call fcn.005b8610
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x3c]
mov ebx, dword [ecx + 0x40]
push 1
mov dword [ecx + 0x34], eax
mov eax, dword [ecx + 0x38]
push 0x9bf3e4
mov dword [ecx + 0x74], eax
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x7c], ebx
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
mov dword [ecx + 0x58], ebx
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], edx
mov dword [ecx + 0x4c], ebx
call fcn.007b9a88
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xd8], 0x9bf220
mov dword [ecx + 0x398], eax
mov eax, dword [0xa742a4]
push 0
mov edx, dword [eax + 0x430]
mov dword [ecx + 0xdc], edx
call fcn.007aa4c8
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
push 0x31
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
xor eax, eax
mov word [esi + 0xb8], ax
mov dword [esi + 0x300], edx
mov dword [esi + 0x304], ecx
mov dword [esi + 0x308], ebx
mov dword [edi + 0x314], 0
mov dword [edi + 0x310], 0
mov dword [edi + 0x30c], 0
mov dword [edi + 0x388], 0
mov dword [edi + 0x384], 0
mov dword [edi + 0x380], 0
call fcn.0077a684
mov esi, eax
push 0x31
call fcn.0077a698
mov ebx, eax
push 0x31
call fcn.0077a6b4
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push eax
push ebx
push esi
call fcn.007868f8
mov edx, dword [ebp - 0x24]
push edx
movzx eax, word [edx + 0x334]
mov word [edx + 0x346], ax
call fcn.007b4d98
pop ecx
mov ecx, dword [ebp - 0x24]
push 0x15
call fcn.00787550
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xb0]
xor eax, eax
mov dword [ecx + 0x39c], eax
mov dword [ecx + 0x3a0], eax
and edx, 0xfffffffe
mov dword [ecx + 0xb0], edx
add ecx, 0x3a8
push ecx
push 0x9bf360
call fcn.0058836c
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x394], 1
mov dword [ecx + 0x3a4], eax
movsx eax, word [ecx + 0x334]
xor edx, edx
mov dword [ecx + 0x3f4], edx
mov dword [ecx + 0x3fc], eax
movzx eax, byte [0xa7421c]
mov dword [ecx + 0x400], edx
mov dword [ecx + 0x404], edx
test al, 1
jne 0x583144
mov dword [0xa74220], 5
or eax, 0xffffff01
mov byte [0xa7421c], al
push 0x31
call fcn.0077a6cc
mov edx, dword [ebp - 0x24]
push 0x31
mov eax, dword [eax]
mov dword [edx + 0x478], eax
call fcn.0077a6cc
mov ecx, dword [ebp - 0x24]
push 0x31
mov edx, dword [eax + 0x18]
mov eax, dword [0xa74220]
cmp edx, eax
jg 0x583170
mov edx, eax
mov dword [ecx + 0x47c], edx
call fcn.0077a6cc
mov edx, eax
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 0x1c]
xor edx, edx
test ecx, ecx
mov ebx, 0
jg 0x583193
mov ecx, edx
mov dword [eax + 0x480], ecx
lea edx, [ebx + ebx]
add edx, edx
lea esi, [edx + edx]
add esi, esi
add esi, esi
sub esi, edx
lea ecx, [eax + esi + 0x408]
call fcn.0057739c
add ebx, 1
cmp ebx, 4
jge 0x5831c0
mov eax, dword [ebp - 0x24]
jmp 0x583199
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x37c], 1
xor esi, esi
mov eax, dword [ecx + esi*4 + 0x39c]
lea ebx, [esi + esi]
test eax, eax
je 0x5831f2
push eax
call fcn.005cdcc0
pop ecx
mov ecx, dword [ebp - 0x24]
mov dword [ecx + ebx*2 + 0x39c], 0
add esi, 1
cmp esi, 2
jl 0x5831cf
mov eax, dword [ecx + 0x37c]
mov eax, dword [eax*8 + 0x9bf2e0]
test eax, eax
je 0x583210
call eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push 0
movzx edx, word [eax]
mov word [ebp - 0x64], dx
movzx ebx, word [eax + 2]
mov word [ebp - 0x62], bx
movzx esi, word [eax + 4]
mov word [ebp - 0x60], si
movzx edi, word [eax + 6]
mov word [ebp - 0x5e], di
movzx edx, word [eax + 8]
mov word [ebp - 0x5c], dx
movzx edx, word [eax + 0xa]
mov word [ebp - 0x5a], dx
movzx edx, word [eax + 0xc]
mov word [ebp - 0x58], dx
movzx edx, word [eax + 0xe]
mov word [ebp - 0x56], dx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x3c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x2c], edx
movzx edx, word [eax + 0x3c]
mov word [ebp - 0x28], dx
movzx eax, word [eax + 0x3e]
mov word [ebp - 0x26], ax
movzx eax, word [ecx + 0x2c]
movzx ecx, word [ecx + 0x1c]
add eax, 1
add ecx, 1
mov word [ebp - 0x64], ax
mov word [ebp - 0x5e], cx
lea eax, [ebp - 0x64]
push eax
call fcn.00586b44
mov edx, dword [ebp - 0x24]
movzx ecx, word [edx + 0x1c]
lea ebx, [ebp - 0x64]
push 1
mov dword [edx + 0x3ec], eax
push ebx
movzx eax, word [edx + 0x2c]
add eax, 2
add ecx, 2
mov word [ebp - 0x64], ax
mov word [ebp - 0x5e], cx
call fcn.00586b44
add esp, 0x10
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x3ec]
mov dword [edx + 0x3f0], eax
test ecx, ecx
je 0x583309
test eax, eax
jne 0x583324
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push eax
push edx
call fcn.00587038
mov eax, dword [ebp - 0x24]
push dword [eax + 0x3ec]
push eax
mov ecx, dword [eax + 0x3f0]
call fcn.00587038
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8