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

Disassembly:
sub esp, 0x160
push ebx
xor ebx, ebx
push ebp
push esi
mov ecx, 5
push edi
mov edi, 1
mov ebp, 2
mov eax, 4
mov word [esp + 0x10], di
mov word [esp + 0x12], bx
mov word [esp + 0x14], bx
mov word [esp + 0x16], bx
mov word [esp + 0x18], cx
mov word [esp + 0x1a], bx
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 1
mov word [esp + 0x20], bp
mov word [esp + 0x22], bx
mov word [esp + 0x24], bx
mov word [esp + 0x26], bx
mov word [esp + 0x28], ax
mov word [esp + 0x2a], bx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 1
mov word [esp + 0x30], bx
mov word [esp + 0x32], bx
mov word [esp + 0x34], bx
mov word [esp + 0x36], bx
mov word [esp + 0x38], cx
mov word [esp + 0x3a], bx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 1
mov word [esp + 0x40], bx
mov word [esp + 0x42], bx
mov word [esp + 0x44], bx
mov word [esp + 0x46], bx
mov word [esp + 0x48], cx
mov word [esp + 0x4a], bx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 1
mov word [esp + 0x50], di
mov word [esp + 0x52], bx
mov word [esp + 0x54], bx
mov word [esp + 0x56], bx
mov word [esp + 0x58], di
mov word [esp + 0x5a], bx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], 1
mov byte [esp + 0x5e], 1
mov word [esp + 0x60], bx
mov word [esp + 0x62], bx
mov word [esp + 0x64], bx
mov word [esp + 0x66], bx
mov word [esp + 0x68], ax
mov word [esp + 0x6a], bx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 1
mov byte [esp + 0x6e], 1
mov word [esp + 0x70], bx
mov word [esp + 0x72], bx
mov word [esp + 0x74], bx
mov word [esp + 0x76], bx
mov word [esp + 0x78], di
mov word [esp + 0x7a], bx
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], 1
mov byte [esp + 0x7e], 1
mov word [esp + 0x80], di
mov word [esp + 0x82], bx
mov word [esp + 0x84], bx
mov word [esp + 0x86], bx
mov word [esp + 0x88], bp
mov word [esp + 0x8a], bx
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], 1
mov byte [esp + 0x8e], 1
mov ecx, 0x15
mov word [esp + 0xd0], cx
mov word [esp + 0xd8], cx
mov esi, 0x10
mov ecx, 3
mov word [esp + 0x90], di
mov word [esp + 0x92], bx
mov word [esp + 0x94], bx
mov word [esp + 0x96], bx
mov word [esp + 0x98], di
mov word [esp + 0x9a], bx
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], 1
mov byte [esp + 0x9e], 1
mov word [esp + 0xa0], bp
mov word [esp + 0xa2], bx
mov word [esp + 0xa4], bx
mov word [esp + 0xa6], bx
mov word [esp + 0xa8], bp
mov word [esp + 0xaa], bx
mov byte [esp + 0xac], bl
mov byte [esp + 0xad], 1
mov byte [esp + 0xae], 1
mov word [esp + 0xb0], bp
mov word [esp + 0xb2], bx
mov word [esp + 0xb4], bx
mov word [esp + 0xb6], bx
mov word [esp + 0xb8], bp
mov word [esp + 0xba], bx
mov byte [esp + 0xbc], bl
mov byte [esp + 0xbd], 1
mov byte [esp + 0xbe], 1
mov word [esp + 0xc0], bp
mov word [esp + 0xc2], bx
mov word [esp + 0xc4], bx
mov word [esp + 0xc6], bx
mov word [esp + 0xc8], bp
mov word [esp + 0xca], bx
mov byte [esp + 0xcc], bl
mov byte [esp + 0xcd], 1
mov byte [esp + 0xce], 1
mov word [esp + 0xd2], bx
mov word [esp + 0xd4], bx
mov word [esp + 0xd6], bx
mov word [esp + 0xda], bx
mov byte [esp + 0xdc], bl
mov byte [esp + 0xdd], 1
mov byte [esp + 0xde], 1
mov word [esp + 0xe0], si
mov word [esp + 0xe2], bx
mov word [esp + 0xe4], bx
mov word [esp + 0xe6], bx
mov word [esp + 0xe8], si
mov word [esp + 0xea], bx
mov byte [esp + 0xec], bl
mov byte [esp + 0xed], 1
mov byte [esp + 0xee], 1
mov word [esp + 0xf0], ax
mov word [esp + 0xf2], bx
mov word [esp + 0xf4], bx
mov word [esp + 0xf6], bx
mov word [esp + 0xf8], ax
mov word [esp + 0xfa], bx
mov byte [esp + 0xfc], bl
mov byte [esp + 0xfd], 1
mov byte [esp + 0xfe], 1
mov word [esp + 0x100], cx
mov word [esp + 0x102], bx
mov word [esp + 0x104], bx
mov word [esp + 0x106], bx
mov word [esp + 0x108], cx
mov word [esp + 0x10a], bx
mov byte [esp + 0x10c], bl
mov byte [esp + 0x10d], 1
mov byte [esp + 0x10e], 1
mov word [esp + 0x110], di
mov word [esp + 0x112], bx
mov word [esp + 0x114], bx
mov word [esp + 0x116], bx
mov word [esp + 0x118], di
mov word [esp + 0x11a], bx
mov word [esp + 0x120], ax
mov word [esp + 0x128], ax
mov word [esp + 0x130], ax
mov word [esp + 0x138], ax
mov byte [esp + 0x11c], bl
mov byte [esp + 0x11d], 1
mov byte [esp + 0x11e], 1
mov word [esp + 0x122], bx
mov word [esp + 0x124], bx
mov word [esp + 0x126], bx
mov word [esp + 0x12a], bx
mov byte [esp + 0x12c], bl
mov byte [esp + 0x12d], 1
mov byte [esp + 0x12e], 1
mov word [esp + 0x132], bx
mov word [esp + 0x134], bx
mov word [esp + 0x136], bx
mov word [esp + 0x13a], bx
mov byte [esp + 0x13c], bl
mov byte [esp + 0x13d], 1
mov byte [esp + 0x13e], 1
mov word [esp + 0x140], bx
mov word [esp + 0x142], bx
mov word [esp + 0x144], bx
mov word [esp + 0x146], bx
mov word [esp + 0x148], bp
mov word [esp + 0x14a], bx
mov byte [esp + 0x14c], bl
mov byte [esp + 0x14d], 1
mov byte [esp + 0x14e], 1
mov word [esp + 0x150], bx
mov word [esp + 0x152], bx
mov word [esp + 0x154], bx
mov word [esp + 0x156], bx
mov word [esp + 0x158], di
mov word [esp + 0x15a], bx
mov byte [esp + 0x15c], bl
mov byte [esp + 0x15d], 1
mov byte [esp + 0x15e], 1
mov word [esp + 0x160], bx
mov word [esp + 0x162], bx
mov word [esp + 0x164], bx
mov word [esp + 0x166], bx
mov word [esp + 0x168], bx
mov word [esp + 0x16a], bx
mov byte [esp + 0x16c], bl
mov byte [esp + 0x16d], 1
mov byte [esp + 0x16e], 1
xor eax, eax
jmp 0x587220
mov cx, word [esp + eax + 0x10]
mov dx, word [esp + eax + 0x14]
mov word [eax + 0xd9ea60], cx
mov cx, word [esp + eax + 0x18]
mov word [eax + 0xd9ea64], dx
mov dl, byte [esp + eax + 0x1c]
mov word [eax + 0xd9ea68], cx
mov cl, byte [esp + eax + 0x1d]
mov byte [eax + 0xd9ea6c], dl
mov dl, byte [esp + eax + 0x1e]
mov byte [eax + 0xd9ea6d], cl
mov byte [eax + 0xd9ea6e], dl
add eax, esi
cmp eax, 0x160
jl 0x587220
call fcn.00838690
mov esi, eax
call fcn.008386c0
movzx cx, byte [esi]
mov word [0xd9ea60], cx
movzx dx, byte [esi + 1]
mov word [0xd9ea70], dx
movzx cx, byte [esi + 2]
mov word [0xd9eaa0], cx
movzx dx, byte [esi + 3]
mov word [0xd9ea80], dx
movzx cx, byte [esi + 4]
mov word [0xd9ea90], cx
movzx dx, byte [esi + 5]
mov word [0xd9eab0], dx
movzx cx, byte [esi + 6]
cmp cx, bx
mov word [0xd9eac0], cx
movzx dx, byte [esi + 7]
mov word [0xd9ead0], dx
movzx dx, byte [esi + 8]
mov word [0xd9eae0], dx
movzx dx, byte [esi + 9]
mov word [0xd9eaf0], dx
movzx dx, byte [esi + 0xa]
mov word [0xd9eb00], dx
movzx dx, byte [esi + 0xb]
mov word [0xd9eb10], dx
movzx dx, byte [esi + 0xe]
mov word [0xd9eb20], dx
movzx dx, byte [esi + 0xf]
mov word [0xd9eb40], dx
movzx dx, byte [esi + 0x10]
mov word [0xd9eb50], dx
movzx dx, byte [eax]
mov word [0xd9eb60], dx
movzx dx, byte [eax + 1]
mov word [0xd9eb90], dx
movzx ax, byte [eax + 2]
mov word [0xd9eba0], ax
movzx dx, byte [esi + 0xc]
mov word [0xd9eb70], dx
movzx ax, byte [esi + 0xd]
mov word [0xd9eb80], ax
movzx dx, byte [esi + 0x12]
mov word [0xd9eb30], dx
jne 0x5873cf
mov word [0xd9ead0], bx
mov byte [0xd9eadc], 1
mov byte [0xd9eaec], bl
mov ecx, dword [0x91cfa8]
mov al, byte [ecx + 0x64]
cmp al, 7
jne 0x5873ee
mov byte [0xd9ea6c], 1
mov byte [0xd9ea7c], 1
mov byte [0xd9eabc], 1
mov byte [0xd9eaac], 1
mov byte [0xd9eacc], 1
mov byte [0xd9eadc], 1
mov byte [0xd9eaec], 1
mov byte [0xd9ebac], 1
jmp 0x587411
cmp word [0xd9ead0], bp
mov byte [0xd9eadc], bl
jne 0x587382
mov word [0xd9eae0], di
mov byte [0xd9eaec], 1
jmp 0x587388
cmp al, 8
jne 0x587411
mov eax, 3
mov word [0xd9eb70], ax
mov byte [0xd9eb7c], 1
mov word [0xd9eb80], ax
mov byte [0xd9eb8c], 1
mov eax, 0x910d70
mov byte [eax], bl
add eax, 3
cmp eax, 0x910db2
jl 0x587416
cmp byte [ecx + 0x64], 8
je 0x587435
mov byte [0xd9ebbe], bl
mov byte [0xd9ebbc], 1
mov byte [0xd9eb9e], bl
mov byte [0xd9eb9c], 1
call fcn.008386b0
mov ecx, dword [eax]
test ch, 0x40
jne 0x58745b
mov byte [0xd9ebae], bl
mov byte [0xd9ebac], 1
call fcn.008386b0
mov ecx, dword [eax]
test ch, 8
jne 0x58746e
mov byte [0x910d70], 1
mov eax, 0xd9ea62
mov cx, word [eax - 2]
mov dx, word [eax + 2]
mov word [eax], cx
mov cx, word [eax + 6]
mov word [eax + 4], dx
mov word [eax + 8], cx
add eax, 0x10
cmp eax, 0xd9ebc2
jl 0x587473
xor edx, edx
mov dword [0xd9ea1b], edx
mov dword [0xd9ea1f], edx
xor ecx, ecx
mov dword [0xd9ea23], edx
mov dword [0xd9ea35], ecx
mov byte [0xd9ea27], dl
mov eax, 0x1010101
mov dword [0xd9ea28], eax
mov dword [0xd9ea42], edx
mov dword [0xd9ea2c], eax
mov dword [0xd9ea39], ecx
mov dword [0xd9ea30], eax
mov dword [0xd9ea3d], ecx
mov dword [0xd9ea46], edx
mov byte [0xd9ea34], al
mov eax, dword [0x91cfa8]
mov dword [0xd9ea4a], edx
mov byte [0xd9ea41], cl
mov byte [0xd9ea4e], dl
cmp byte [eax + 0x64], 7
sete cl
pop edi
pop esi
pop ebp
mov byte [0xd9ea18], bl
mov byte [0xd9ea35], bl
mov byte [0xd9ea19], 2
lea ecx, [ecx + ecx + 1]
mov byte [0xd9ec00], cl
mov byte [0xd9ea42], 0xc
mov byte [0xd9ea36], 0xd
mov byte [0xd9ea43], 0x15
pop ebx
add esp, 0x160
ret