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

Disassembly:
sub esp, 0x80
push ebx
push esi
push edi
call fcn.008386a0
movzx dx, byte [eax]
xor ecx, ecx
mov esi, dword [0xeebb1c]
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], dx
movzx dx, byte [eax + 1]
mov word [esp + 0x2c], dx
mov word [esp + 0x2e], dx
movzx dx, byte [eax + 6]
mov word [esp + 0x4c], dx
mov word [esp + 0x4e], dx
movzx dx, byte [eax + 2]
mov word [esp + 0x5c], dx
mov word [esp + 0x5e], dx
movzx dx, byte [eax + 3]
mov ebx, 1
mov word [esp + 0x6c], dx
mov word [esp + 0x6e], dx
movzx dx, byte [eax + 4]
mov edi, 0xf
mov word [esp + 0xc], cx
mov word [esp + 0xe], cx
mov word [esp + 0x10], cx
mov word [esp + 0x12], cx
mov word [esp + 0x14], cx
mov word [esp + 0x16], cx
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], cl
mov word [esp + 0x1a], cx
mov word [esp + 0x20], cx
mov word [esp + 0x22], cx
mov word [esp + 0x24], bx
mov word [esp + 0x26], bx
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], bl
mov word [esp + 0x2a], cx
mov word [esp + 0x30], cx
mov word [esp + 0x32], cx
mov word [esp + 0x34], 3
mov word [esp + 0x36], cx
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], cl
mov word [esp + 0x3a], cx
mov word [esp + 0x3c], si
mov word [esp + 0x3e], si
mov word [esp + 0x40], cx
mov word [esp + 0x42], cx
mov word [esp + 0x44], 4
mov word [esp + 0x46], cx
mov byte [esp + 0x48], cl
mov byte [esp + 0x49], bl
mov word [esp + 0x4a], cx
mov word [esp + 0x50], cx
mov word [esp + 0x52], cx
mov word [esp + 0x54], 2
mov word [esp + 0x56], cx
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], bl
mov word [esp + 0x5a], cx
mov word [esp + 0x60], cx
mov word [esp + 0x62], cx
mov word [esp + 0x64], di
mov word [esp + 0x66], cx
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], cl
mov word [esp + 0x6a], cx
mov word [esp + 0x70], cx
mov word [esp + 0x72], cx
mov word [esp + 0x74], di
mov word [esp + 0x76], cx
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], cl
mov word [esp + 0x7a], cx
mov word [esp + 0x7c], dx
mov word [esp + 0x7e], dx
mov word [esp + 0x80], cx
mov word [esp + 0x82], cx
mov edx, dword [esp + 0xc]
mov dword [0xd9ed60], edx
mov edx, dword [esp + 0x10]
mov dword [0xd9ed64], edx
mov edx, dword [esp + 0x14]
mov dword [0xd9ed68], edx
mov edx, dword [esp + 0x18]
mov dword [0xd9ed6c], edx
mov edx, dword [esp + 0x1c]
mov dword [0xd9ed70], edx
mov edx, dword [esp + 0x20]
mov dword [0xd9ed74], edx
mov edx, dword [esp + 0x24]
mov dword [0xd9ed78], edx
mov edx, dword [esp + 0x28]
mov dword [0xd9ed7c], edx
mov edx, dword [esp + 0x2c]
mov dword [0xd9ed80], edx
mov edx, dword [esp + 0x30]
mov dword [0xd9ed84], edx
mov edx, dword [esp + 0x34]
mov dword [0xd9ed88], edx
mov edx, dword [esp + 0x38]
mov dword [0xd9ed8c], edx
mov edx, dword [esp + 0x3c]
mov dword [0xd9ed90], edx
mov edx, dword [esp + 0x40]
mov dword [0xd9ed94], edx
mov edx, dword [esp + 0x44]
mov dword [0xd9ed98], edx
mov edx, dword [esp + 0x48]
mov dword [0xd9ed9c], edx
mov edx, dword [esp + 0x4c]
mov dword [0xd9eda0], edx
mov edx, dword [esp + 0x50]
mov dword [0xd9eda4], edx
mov edx, dword [esp + 0x54]
mov dword [0xd9eda8], edx
mov edx, dword [esp + 0x58]
mov dword [0xd9edac], edx
mov edx, dword [esp + 0x5c]
mov dword [0xd9edb0], edx
mov edx, dword [esp + 0x60]
mov dword [0xd9edb4], edx
mov edx, dword [esp + 0x64]
mov dword [0xd9edb8], edx
mov edx, dword [esp + 0x68]
mov dword [0xd9edbc], edx
mov edx, dword [esp + 0x6c]
mov dword [0xd9edc0], edx
mov edx, dword [esp + 0x70]
mov dword [0xd9edc4], edx
mov edx, dword [esp + 0x74]
mov dword [0xd9edc8], edx
mov edx, dword [esp + 0x78]
mov dword [0xd9edcc], edx
mov edx, dword [esp + 0x7c]
mov dword [0xd9edd0], edx
mov edx, dword [esp + 0x80]
mov dword [0xd9edd4], edx
mov word [esp + 0x84], di
mov word [esp + 0x86], cx
mov edx, dword [esp + 0x84]
mov dword [0xd9edd8], edx
mov byte [esp + 0x88], cl
mov byte [esp + 0x89], cl
mov word [esp + 0x8a], cx
mov edx, dword [esp + 0x88]
mov dword [0xd9eddc], edx
movzx eax, byte [eax + 6]
sub eax, ecx
je 0x58c8b7
dec eax
je 0x58c8a7
dec eax
jne 0x58c8c9
mov word [0xd9eda0], bx
mov word [0xd9eda2], bx
jmp 0x58c8c9
mov word [0xd9eda0], cx
mov word [0xd9eda2], cx
jmp 0x58c8c9
mov word [0xd9eda0], 2
mov word [0xd9eda2], 2
mov word [0xd9ed90], si
mov word [0xd9ed92], si
xor edi, edi
xor esi, esi
jmp 0x58c8e0
push esi
call fcn.00429de0
add esp, 4
test eax, eax
je 0x58c8ee
inc edi
inc esi
cmp esi, 7
jl 0x58c8e0
cmp edi, ebx
jne 0x58c8fe
mov byte [0xd9ed9c], bl
pop edi
pop esi
pop ebx
add esp, 0x80
ret