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

Disassembly:
sub esp, 0x3c0
push ebx
push ebp
mov ebp, dword [esp + 0x3d4]
mov eax, dword [ebp + 4]
push esi
push edi
mov edi, dword [eax]
push 0x6e17f0
xor esi, esi
push str.Encoding__s_image
lea eax, [esp + 0x1d0]
mov word [esp + 0x1d0], si
call fcn.00483050
mov ecx, dword [esp + 0x3e0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
add esp, 8
push esi
lea eax, [esp + 0x1cc]
push eax
call edx
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea ecx, [edi + 1]
mov eax, ecx
cdq
mov ebx, 3
idiv ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov byte [esp + 0xc0], 0
cmp edx, esi
sete byte [esp + 0x16]
cmp edx, 1
sete bl
cmp edx, 2
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
sete byte [esp + 0x17]
cmp edi, 3
push edx
push eax
setl byte [esp + 0x26]
test bl, bl
mov byte [esp + 0x27], bl
push ecx
lea eax, [esp + 0xcc]
je 0x58367f
push str.P_d_n_d__d_n
jmp 0x583684
push str.P_d_n_d__d_n255_n
call fcn.00553f00
lea eax, [esp + 0xd0]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x583696
mov ecx, dword [ebp + 8]
sub eax, edx
push eax
lea edx, [esp + 0xc4]
push edx
add ecx, 0x10
push ecx
call fcn.004bb3f0
lea ecx, [esp + 0xc0]
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x5836c0
sub ecx, edi
cmp eax, ecx
je 0x5836e1
mov esi, dword [esp + 0x3d4]
mov dword [esi], 2
jmp 0x583a05
test bl, bl
jne 0x5836eb
cmp byte [esp + 0x17], bl
je 0x58370c
mov eax, dword [esp + 0x20]
push esi
push esi
push esi
lea edi, [esp + 0x74]
call fcn.004d0d70
mov edx, dword [ebp]
mov ecx, edi
call fcn.004d35f0
mov eax, edi
call fcn.005b8500
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp byte [esp + 0x16], al
setne al
lea eax, [eax + eax + 1]
imul eax, dword [ecx + 4]
mov edi, eax
push edi
mov dword [esp + 0x2c], edi
call fcn.0069c0de
test edi, edi
mov dword [esp + 0x40], edi
mov ebx, eax
fild dword [esp + 0x40]
mov dword [esp + 0x3c], esi
jge 0x583745
fadd qword [0x7235b8]
fmul qword [0x723e70]
push ecx
fstp qword [esp]
call fcn.0069c430
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x2c], eax
fldcw word [esp + 0x2c]
fistp qword [esp + 0xc0]
mov eax, dword [esp + 0xc0]
push eax
mov dword [esp + 0x48], eax
fldcw word [esp + 0x24]
call fcn.0069c0de
mov ebp, eax
mov eax, dword [esp + 0x3e8]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
add esp, 0xc
cmp byte [esp + 0x16], 0
mov dword [esp + 0x24], ecx
je 0x5837a7
mov eax, dword [eax]
jmp 0x5837ab
lea eax, [esp + 0x68]
mov edi, eax
push 0
lea eax, [esp + 0x44]
call fcn.004d2430
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x40]
jae 0x5839e6
jmp 0x5837d0
lea edx, [esp + 0x40]
lea ecx, [esp + 0xb8]
call dword [esp + 0x60]
cmp byte [esp + 0x16], 0
mov eax, dword [eax]
je 0x583803
mov ecx, eax
shr ecx, 0x10
mov byte [esi + ebx], cl
mov edx, eax
add esi, 1
shr edx, 8
mov byte [esi + ebx], dl
add esi, 1
mov byte [esi + ebx], al
jmp 0x58381f
shr eax, 0x10
cmp byte [esp + 0x17], 0
je 0x583812
mov byte [esi + ebx], al
jmp 0x58381f
movzx eax, al
cmp eax, dword [esp + 0x24]
setge cl
mov byte [esi + ebx], cl
mov edi, dword [esp + 0x28]
add esi, 1
cmp esi, edi
jb 0x58399e
cmp byte [esp + 0x1e], 0
je 0x5838c2
xor esi, esi
cmp edi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
jbe 0x583872
test esi, esi
mov eax, 0x6fe3e0
ja 0x583859
mov eax, 0x6fda0c
movzx edx, byte [esi + ebx]
push edx
push eax
lea eax, [esp + 0x34]
call fcn.00552eb0
add esi, 1
add esp, 8
cmp esi, edi
jb 0x58384b
push 0x6f0fd8
lea eax, [esp + 0x30]
call fcn.00552d80
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x58388d
mov ecx, 0x6bc0ce
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3dc]
mov eax, dword [eax + 8]
push edx
push ecx
add eax, 0x10
push eax
call fcn.004bb3f0
cmp eax, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push eax
jne 0x583a1d
call fcn.0069c8fa
add esp, 4
jmp 0x583952
cmp byte [esp + 0x1f], 0
jne 0x5838e2
mov ecx, dword [esp + 0x3dc]
mov eax, dword [ecx + 8]
push edi
push ebx
add eax, 0x10
push eax
call fcn.004bb3f0
cmp eax, edi
jmp 0x58394c
test edi, edi
mov dword [esp + 0x18], 0
jbe 0x583931
mov esi, dword [esp + 0x18]
shr esi, 3
mov byte [esi + ebp], 0
xor al, al
mov ecx, dword [esp + 0x18]
movzx edx, al
lea edi, [edx + ecx]
cmp edi, dword [esp + 0x28]
jae 0x583920
mov ecx, 7
sub ecx, edx
mov dl, byte [edi + ebx]
shl dl, cl
add al, 1
add byte [esi + ebp], dl
cmp al, 8
jb 0x5838fb
mov eax, dword [esp + 0x18]
add eax, 8
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jb 0x5838ee
mov eax, dword [esp + 0x3dc]
mov esi, dword [esp + 0x3c]
mov eax, dword [eax + 8]
push esi
push ebp
add eax, 0x10
push eax
call fcn.004bb3f0
cmp eax, esi
jne 0x583a34
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3d8]
mov edx, dword [edi]
add eax, 1
xor esi, esi
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esp + 0x38], eax
jge 0x58397a
fadd qword [0x7235b8]
mov eax, dword [esp + 0x20]
fidiv dword [eax + 8]
mov edx, dword [edx + 0x24]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call edx
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
test al, al
jne 0x583a43
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x40]
cmp edx, edi
jae 0x5839e6
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add eax, dword [esp + 0x4c]
add ecx, 1
add edx, 1
cmp ecx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], edx
jne 0x5839de
add eax, dword [esp + 0x48]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], eax
cmp edx, edi
jb 0x5837d0
mov esi, dword [esp + 0x3d4]
mov dword [esi], 0
push ebp
call fcn.0069c8fa
add esp, 4
push ebx
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x68]
call fcn.004d0c50
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c0
ret 0xc
mov esi, dword [esp + 0x3d8]
mov dword [esi], 2
call fcn.0069c8fa
add esp, 4
jmp 0x5839f3
mov esi, dword [esp + 0x3d4]
mov dword [esi], 2
jmp 0x5839f3
mov esi, dword [esp + 0x3d4]
mov dword [esi], 1
jmp 0x5839f3