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

Disassembly:
sub esp, 0x2d0
push ebx
push ebp
push esi
push edi
push 0x6e17b0
push str.Decoding__s_image
lea eax, [esp + 0xe0]
mov word [esp + 0xe0], 0
call fcn.00483050
mov ecx, dword [esp + 0x2f0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
add esp, 8
push 0
lea edx, [esp + 0xdc]
push edx
call eax
mov ebx, dword [esp + 0x2ec]
lea ecx, [esp + 0x1c]
push ecx
push ebx
lea edi, [esp + 0x64]
call fcn.005bccd0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x58bfa9
mov eax, dword [esp + 0x2e4]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d0
ret 0xc
xor ecx, ecx
mov eax, pe_nt_image_headers32
mov edx, 3
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0069c0de
add esp, 4
cmp dword [esp + 0x74], 2
mov esi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], pe_nt_image_headers32
mov dword [esp + 0x2c], 0xffffffff
jne 0x58c01b
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
call fcn.005bcea0
mov eax, dword [eax]
test eax, eax
je 0x58c022
mov edi, dword [esp + 0x2e4]
push esi
mov dword [edi], eax
call fcn.0069c8fa
mov eax, edi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d0
ret 0xc
mov eax, ebx
call fcn.005bcfa0
mov ebp, dword [esp + 0x74]
add ebp, 0xffffffff
cmp ebp, 3
ja 0x58c04b
movzx edi, word [esp + 0x68]
movzx esi, word [esp + 0x72]
push ebp
mov ecx, edi
mov eax, esi
call fcn.005b6ea0
cmp eax, 0xffffffff
jne 0x58c070
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2e4]
push esi
mov dword [edi], 2
call fcn.0069c8fa
mov eax, edi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d0
ret 0xc
cmp ebp, 3
ja case.default.0x58c079
jmp dword [ebp*4 + 0x58c4a8]
cmp edi, 2
jae 0x58c08b
mov dword [esp + 0x18], edi
jmp 0x58c0c5
mov dword [esp + 0x18], 2
jmp 0x58c0c5
mov dword [esp + 0x18], 1
jmp 0x58c0c5
cmp edi, 4
jae 0x58c0aa
mov dword [esp + 0x18], edi
jmp 0x58c0c5
mov dword [esp + 0x18], 4
jmp 0x58c0c5
cmp edi, 5
mov dword [esp + 0x18], edi
jb 0x58c0c5
mov dword [esp + 0x18], 5
mov ecx, dword [esp + 0x6e]
mov edx, dword [esp + 0x6a]
mov ebp, eax
neg ebp
sbb ebp, ebp
imul esi, ecx
push edx
add esi, 7
lea edx, [esp + 0x9c]
shr esi, 3
push edx
add ebp, 4
mov dword [esp + 0x24], esi
call fcn.004d3de0
mov edi, dword [ebx + 4]
xor esi, esi
push esi
push esi
push esi
call fcn.004d0d70
mov ecx, dword [ebx + 4]
call fcn.004d14f0
mov edi, eax
cmp edi, esi
jne 0x58c116
mov eax, dword [esp + 0x24]
push eax
jmp 0x58c481
mov eax, ebx
call fcn.005bcfa0
fldz
mov eax, ebx
fstp qword [esp + 0x50]
call fcn.005bcfa0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x44]
cmp word [esp + 0x72], 0x10
mov eax, dword [ebx]
mov dword [esp + 0x38], edx
push 2
lea edx, [esp + 0x38]
sete cl
mov dword [esp + 0x45], esi
mov dword [esp + 0x49], esi
mov dword [esp + 0x4d], esi
push edx
lea esi, [eax + 0x10]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], cl
call fcn.004ae0b0
cmp eax, 2
jne case.default.0x58c2b8
mov ax, word [esp + 0x34]
mov ch, al
xor esi, esi
mov cl, ah
movzx eax, cx
mov dword [esp + 0x34], eax
movzx eax, ax
sub eax, esi
je 0x58c1b6
sub eax, 1
jne 0x58c10c
movzx ecx, word [esp + 0x68]
imul ecx, dword [esp + 0x6a]
mov dword [esp + 0x41], esi
mov dword [esp + 0x45], esi
mov esi, dword [ebx]
add ecx, ecx
push ecx
add esi, 0x10
call fcn.00492010
mov ecx, dword [esp + 0x6a]
xor esi, esi
jmp 0x58c1cd
mov edx, dword [esp + 0x24]
push edx
jmp 0x58c481
mov ecx, dword [esp + 0x6a]
mov eax, ecx
imul eax, dword [esp + 0x18]
mul dword [esp + 0x1c]
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], edx
imul ecx, dword [esp + 0x18]
fldz
fst qword [esp + 0x88]
test ecx, ecx
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
jge 0x58c1ed
fadd qword [0x7235b8]
fld1
mov ebx, dword [esp + 0x2e8]
fdivrp st(1)
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
sub esp, 8
mov ecx, ebx
fstp qword [esp + 0x98]
fstp qword [esp]
call eax
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
test al, al
je 0x58c231
mov esi, dword [esp + 0x2e4]
mov ecx, dword [esp + 0x24]
mov dword [esi], 1
push ecx
jmp 0x58c48e
mov dword [esp + 0x80], esi
xor esi, esi
xor ebx, ebx
cmp dword [esp + 0x18], esi
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], 1
mov dword [esp + 0x84], 3
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x17], bl
jbe 0x58c451
lea ecx, [ecx]
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x40]
call fcn.005c5c60
test al, al
je 0x58c10c
cmp byte [esp + 0x40], 0
je 0x58c2a8
lea eax, [esp + 0x23]
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x27], 0
call fcn.005c5c60
test al, al
je 0x58c10c
mov eax, dword [esp + 0x74]
add eax, 0xffffffff
cmp eax, 3
ja case.default.0x58c2b8
jmp dword [eax*4 + 0x58c4b8]
test ebx, ebx
mov cl, byte [esp + 0x17]
jne 0x58c343
mov byte [esi + edi], cl
mov dl, byte [esp + 0x17]
mov byte [esi + edi + 1], dl
mov al, byte [esp + 0x17]
jmp 0x58c3a2
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax*2]
movzx eax, byte [eax + edx]
mov byte [esi + edi], al
movzx eax, byte [esp + 0x17]
lea edx, [ecx + eax*2]
movzx eax, byte [eax + edx + 1]
mov byte [esi + edi + 1], al
movzx eax, byte [esp + 0x17]
lea ecx, [ecx + eax*2]
mov dl, byte [eax + ecx + 2]
mov byte [esi + edi + 2], dl
jmp 0x58c3a6
mov eax, dword [esp + ebx*4 + 0x78]
mov cl, byte [esp + 0x17]
add eax, esi
mov byte [eax + edi], cl
jmp 0x58c3a6
cmp ebx, 3
jae 0x58c33a
mov edx, dword [esp + ebx*4 + 0x78]
mov al, byte [esp + 0x17]
add edx, esi
mov byte [edx + edi], al
jmp 0x58c3a6
cmp ebx, 4
jne 0x58c349
mov cl, byte [esp + 0x17]
mov byte [esi + edi + 3], cl
jmp 0x58c3a6
movzx eax, byte [esp + 0x17]
movzx edx, byte [esi + edi]
imul edx, eax
movzx ecx, byte [esi + edi + 1]
imul edx, edx, 0x101
add edx, 0xff
sar edx, 0x10
mov byte [esi + edi], dl
movzx edx, byte [esp + 0x17]
imul ecx, edx
imul ecx, ecx, 0x101
add ecx, 0xff
sar ecx, 0x10
mov byte [esi + edi + 1], cl
movzx eax, byte [esp + 0x17]
movzx ecx, byte [esi + edi + 2]
imul eax, ecx
imul eax, eax, 0x101
add eax, 0xff
sar eax, 0x10
mov byte [esi + edi + 2], al
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x6e]
add ecx, 1
add esi, ebp
cmp ecx, eax
mov dword [esp + 0x30], ecx
jne 0x58c447
mov ecx, dword [esp + 0x1c]
add ecx, 1
xor edx, edx
cmp ecx, dword [esp + 0x6a]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], ecx
jne 0x58c3e1
add ebx, 1
mov dword [esp + 0x1c], edx
xor esi, esi
jmp 0x58c3ec
mov edx, dword [esp + 0x38]
imul eax, ebp
sub edx, eax
add esi, edx
fld qword [esp + 0x90]
fadd qword [esp + 0x50]
fst qword [esp + 0x50]
fsub qword [esp + 0x88]
fcomp qword [0x723630]
fnstsw ax
test ah, 1
jne 0x58c447
mov ecx, dword [esp + 0x2e8]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x58c21a
mov ecx, dword [esp + 0x2e8]
fld qword [esp + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call edx
fld qword [esp + 0x50]
fstp qword [esp + 0x88]
cmp ebx, dword [esp + 0x18]
jb 0x58c270
movzx eax, word [esp + 0x72]
movzx ecx, word [esp + 0x68]
mov edx, dword [esp + 0x2ec]
imul eax, ecx
mov esi, dword [esp + 0x2e4]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi], 0
push eax
jmp 0x58c48e
mov ecx, dword [esp + 0x24]
push ecx
mov esi, dword [esp + 0x2e8]
mov dword [esi], 2
call fcn.0069c8fa
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2d0
ret 0xc