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

Disassembly:
lea edx, [esp + 0x150]
jmp 0x5b082b
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x83d45b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x544
push ebx
push ebp
push esi
push edi
push str.finale
xor ebx, ebx
push 0xbc3f0c
mov dword [esp + 0x34], ebx
call fcn.008229b6
add esp, 8
test eax, eax
je 0x5b0601
push 0xbc3f0c
call fcn.005afa50
add esp, 4
cmp ax, 0xffff
je 0x5b0601
push 1
push eax
mov ecx, 0xb6bc90
call fcn.00507e30
mov esi, 0x12c
mov edi, 0x8e6440
jmp 0x5b0610
mov eax, dword [esi*4 + 0xa9b0c8]
cmp word [eax + 8], bx
jg 0x5b0642
cmp byte [edi], 1
jne 0x5b062b
push esi
call fcn.004089a0
add esp, 4
mov ebp, dword [esi*4 + 0xa9b0c8]
push 0x868a4c
call fcn.0053cf30
add esp, 4
mov dword [ebp + 4], eax
add edi, 0x14
inc esi
cmp edi, 0x8e65bc
jle 0x5b0610
mov eax, dword [0xb79e44]
mov edx, dword [0x8d2530]
mov dword [0xbc4000], eax
cmp dword [0xb7c484], ebx
mov eax, dword [0x8a5b20]
setne cl
mov dword [0xbc1d68], eax
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov byte [0xbc4004], cl
mov dword [0xbc1d6c], edx
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov dword [0xbc403c], eax
mov dword [0xbc4034], ecx
mov dword [0xbc4038], edx
mov dword [0xbc3fec], ebx
mov dword [0xbc3ff0], ebx
mov dword [0xbc3fe8], ebx
mov dword [0xbc3ff4], ebx
mov dword [0xbc2a30], ebx
mov dword [0xbc3ff8], ebx
mov dword [0xbc3ffc], ebx
mov byte [0xbc1cf8], 0
mov eax, 0xbc2cc0
jmp 0x5b06f0
mov byte [eax], 0
add eax, 0x20
cmp eax, 0xbc2dc0
jl 0x5b06f0
xor eax, eax
mov ecx, 0x32
mov edi, 0xbc31c0
rep stosd dword es:[edi], eax
push 0x3dcccccd
mov ecx, 0xb6f028
call fcn.0050bf90
push ebx
call fcn.007204c0
push 0xffffffffffffffff
call fcn.0056e210
movzx edi, byte [0xb7cd74]
imul edi, edi, 0x190
mov esi, eax
mov eax, dword [esi + 0x480]
add esp, 8
add edi, 0xb7cd98
cmp eax, ebx
je 0x5b074d
mov ecx, dword [eax]
jmp 0x5b074f
xor ecx, ecx
call fcn.00561fe0
mov ebp, dword [esi + 0x1c]
and ebp, 0xffffff7f
mov ecx, esi
mov dword [esi + 0x1c], ebp
call fcn.0060a530
push ebx
call fcn.0053fb70
or byte [eax + 0x10e], 0x80
add esp, 4
push 0x461c4000
push 1
mov ecx, edi
call fcn.0056e870
push 0xbc3f0c
push str._s.CUT
push 0xb71670
call fcn.00821bb5
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [0xb5f848]
lea edx, [esp + 0x1c]
push edx
push 0xb71670
call fcn.005324a0
test al, al
je 0x5b108f
mov eax, dword [esp + 0x18]
shl eax, 0xb
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
shl eax, 0xb
push eax
mov dword [esp + 0x2c], eax
call fcn.00821195
push 0x85eeb0
mov edi, eax
push 1
push 2
mov dword [esp + 0x7c], edi
call fcn.007ecef0
mov ecx, dword [esp + 0x28]
mov esi, eax
push ecx
push esi
call fcn.007ecd00
mov edx, dword [esp + 0x40]
push edx
push edi
push esi
call fcn.007ec9d0
push ebx
push esi
call fcn.007ece20
add esp, 0x2c
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], 0
mov edi, edi
mov ecx, dword [esp + 0x34]
nop
nop
jmp 0x401ed9
jmp 0x5b0830
mov al, byte [ecx]
cmp al, 0xa
je 0x5b083a
cmp al, 0xd
jne 0x5b083d
inc ecx
jmp 0x5b0830
mov al, byte [ecx]
test al, al
je 0x5b0feb
cmp al, 0xa
je 0x5b0863
jmp 0x5b0850
cmp al, 0xd
je 0x5b0863
test al, al
je 0x5b0863
mov byte [edx], al
mov al, byte [ecx + 1]
inc edx
inc ecx
cmp al, 0xa
jne 0x5b0850
mov dword [esp + 0x34], ecx
mov edi, 0x8671ec
lea esi, [esp + 0x150]
mov ecx, 4
xor eax, eax
mov byte [edx], 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b0887
mov dword [esp + 0x14], eax
jmp case.default.0x5b0890
mov eax, dword [esp + 0x14]
cmp eax, 8
ja case.default.0x5b0890
jmp dword [eax*4 + 0x5b119c]
mov edi, str.info
lea esi, [esp + 0x150]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b08b6
mov dword [esp + 0x14], 1
mov edi, str.model
lea esi, [esp + 0x150]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b08d5
mov dword [esp + 0x14], 2
mov edi, str.text
lea esi, [esp + 0x150]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b08f4
mov dword [esp + 0x14], 3
mov edi, str.uncompress
lea esi, [esp + 0x150]
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b0913
mov dword [esp + 0x14], 4
mov edi, str.attach
lea esi, [esp + 0x150]
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b0932
mov dword [esp + 0x14], 5
mov edi, str.remove
lea esi, [esp + 0x150]
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b0951
mov dword [esp + 0x14], 6
mov edi, str.peffect
lea esi, [esp + 0x150]
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x5b0970
mov dword [esp + 0x14], 7
mov edi, str.extracol
lea esi, [esp + 0x150]
mov ecx, 9
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne case.default.0x5b0890
mov dword [esp + 0x14], 8
jmp case.default.0x5b0890
mov al, byte [esp + 0x13]
test al, al
jne case.default.0x5b0890
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x154]
push 0x859508
push edx
call fcn.008220ad
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x5b0819
dec eax
push 0
push eax
mov dword [esp + 0x38], eax
call fcn.0055fec0
add esp, 8
mov byte [esp + 0x13], 1
jmp case.default.0x5b0890
push 6
lea eax, [esp + 0x154]
push str.offset
push eax
call fcn.008214d0
add esp, 0xc
test eax, eax
jne case.default.0x5b0890
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x163]
push str._f__f__f
push ecx
call fcn.008220ad
push 0xffffffffffffffff
call fcn.0056e210
mov esi, eax
mov eax, dword [esi + 0x46c]
add esp, 0x18
test ah, 1
je 0x5b0a8d
mov eax, dword [esi + 0x58c]
test eax, eax
je 0x5b0a8d
push 1
push 0
push eax
lea ecx, [esp + 0xa4]
call fcn.006478b0
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0x560], 0
mov byte [esp + 0xad], 1
call fcn.00647d10
lea ecx, [esp + 0x98]
mov dword [esp + 0x55c], 0xffffffff
call fcn.00647950
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push 0xbc4034
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [0xbc4034], edx
mov dword [0xbc4038], eax
mov dword [0xbc403c], ecx
call fcn.004045b0
push 0
call fcn.00407a30
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x90], edx
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
call fcn.0040eb70
push 1
call fcn.00407a30
add esp, 0x10
jmp case.default.0x5b0890
lea eax, [esp + 0x150]
push 0x8689ec
push eax
call fcn.0082244b
lea ecx, [esp + 0x9c]
push ecx
push 0x859508
push eax
call fcn.008220ad
push 0x8689ec
push 0
call fcn.0082244b
add esp, 0x1c
lea edx, [esp + 0x110]
nop
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x5b0b40
push 0x8689ec
push 0
call fcn.0082244b
lea edx, [esp + 0x118]
push edx
mov esi, eax
call fcn.00836c58
add esp, 0xc
test esi, esi
mov bl, 1
je case.default.0x5b0890
mov ebp, 2
jmp 0x5b0b80
lea edx, [esp + 0xb0]
mov byte [esp + 0xb0], 0
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5b0b93
lea eax, [esp + 0xb0]
push eax
call fcn.00836c58
mov edi, dword [0xbc3fe8]
mov edx, edi
shl edx, 5
lea esi, [esp + 0x114]
mov ecx, edx
add esp, 4
sub ecx, esi
lea eax, [esp + 0x110]
lea esi, [ecx + 0xbc38c8]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x5b0bd0
lea ecx, [esp + 0xb0]
sub edx, ecx
lea eax, [esp + 0xb0]
lea edx, [edx + 0xbc3288]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5b0bf0
test bl, bl
je 0x5b0c0f
xor bl, bl
mov dword [edi*4 + 0xbc31c0], ebp
mov byte [edi + 0xbc2a34], bl
jmp 0x5b0c21
mov byte [edi + 0xbc2a34], 1
mov dword [edi*4 + 0xbc31c0], 3
push 0x8689ec
inc edi
push 0
mov dword [0xbc3fe8], edi
call fcn.0082244b
mov esi, eax
add esp, 8
test esi, esi
jne 0x5b0b80
jmp case.default.0x5b0890
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x15c]
push 0x8689e0
push edx
call fcn.008220ad
lea eax, [esp + 0x30]
add esp, 0x14
xor bl, bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5b0c73
sub eax, edx
mov dword [esp + 0x3c], eax
je 0x5b0cb1
xor ecx, ecx
mov al, byte [esp + ecx + 0x1c]
cmp al, 0x61
lea ecx, [esp + ecx + 0x1c]
jb 0x5b0c98
cmp al, 0x7a
ja 0x5b0c98
sub al, 0x20
mov byte [ecx], al
lea eax, [esp + 0x1c]
inc bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5b0ca1
movzx ecx, bl
sub eax, edx
cmp ecx, eax
jb 0x5b0c84
mov esi, dword [0xbc3fec]
lea ecx, [esi*8]
mov edx, ecx
lea ecx, [esp + 0x1c]
sub edx, ecx
lea eax, [esp + 0x1c]
lea edx, [edx + 0xbc2fc0]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5b0cd0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov dword [esi*4 + 0xbc2ec0], edx
mov dword [esi*4 + 0xbc2dc0], eax
inc esi
mov dword [0xbc3fec], esi
jmp case.default.0x5b0890
lea ecx, [esp + 0x150]
push 0x8689ec
push ecx
call fcn.0082244b
push eax
call fcn.004d5ab0
add esp, 0xc
jmp case.default.0x5b0890
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x15c]
push 0x8689d4
push edx
call fcn.008220ad
mov ecx, dword [0xbc2a30]
mov edx, dword [esp + 0x60]
lea eax, [ecx + ecx*2]
shl eax, 2
mov dword [eax + 0xbc2a68], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 0xbc2a6c], edx
mov edx, dword [esp + 0x88]
add esp, 0x14
inc ecx
mov dword [eax + 0xbc2a70], edx
mov dword [0xbc2a30], ecx
jmp case.default.0x5b0890
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x160]
push str._f__f__f__s
push ecx
call fcn.008220ad
mov eax, dword [0xbc3ff8]
mov edx, dword [esp + 0x94]
imul eax, eax, 0x2c
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xbc20d0], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 0xbc20d4], ecx
mov dword [eax + 0xbc20d8], edx
lea edx, [esp + 0x148]
add esp, 0x18
sub eax, edx
lea ecx, [esp + 0x130]
lea edx, [eax + 0xbc20dc]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x5b0df3
inc dword [0xbc3ff8]
jmp case.default.0x5b0890
xor eax, eax
mov ecx, 8
lea edi, [esp + 0xf0]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esp + 0xd0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x150]
push 0x8689c4
push eax
call fcn.0082244b
push 0x1f
push eax
lea ecx, [esp + 0x100]
push ecx
call fcn.00821f40
push 0x8689c4
push 0
call fcn.0082244b
push eax
call fcn.0082258e
push 0x8689c4
push 0
mov esi, eax
call fcn.0082244b
push eax
call fcn.0082258e
push 0x8689c4
push 0
mov edi, eax
call fcn.0082244b
push eax
call fcn.0082258e
push 0x8689c4
push 0
mov ebp, eax
call fcn.0082244b
add esp, 0x40
push 0x1f
push eax
lea edx, [esp + 0xd8]
push edx
call fcn.00821f40
push 0x8689c4
push 0
call fcn.0082244b
push eax
call fcn.00823cee
fstp dword [esp + 0x60]
push 0x8689c4
push 0
call fcn.0082244b
push eax
call fcn.00823cee
fstp dword [esp + 0x9c]
push 0x8689c4
push 0
call fcn.0082244b
push eax
call fcn.00823cee
fstp dword [esp + 0xa0]
push 0x8689c4
push 0
call fcn.0082244b
push eax
call fcn.00823cee
fstp dword [esp + 0x8c]
push 0x8689c4
push 0
call fcn.0082244b
add esp, 0x44
push eax
call fcn.00823cee
fstp dword [esp + 0x40]
push 0x8689c4
push 0
call fcn.0082244b
push eax
call fcn.00823cee
mov eax, dword [0xbc3ffc]
add esp, 0x10
imul eax, eax, 0x6c
mov dword [eax + 0xbc1d90], 0
mov dword [eax + 0xbc1d94], esi
lea esi, [esp + 0xd0]
mov edx, eax
sub edx, esi
mov dword [eax + 0xbc1d98], edi
mov dword [eax + 0xbc1d9c], ebp
lea ecx, [esp + 0xd0]
lea esi, [edx + 0xbc1da0]
mov edi, edi
mov dl, byte [ecx]
mov byte [ecx + esi], dl
inc ecx
test dl, dl
jne 0x5b0f70
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
mov dword [eax + 0xbc1dc0], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xbc1dc4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0xbc1dc8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xbc1dcc], edx
mov dword [eax + 0xbc1dd0], ecx
fstp dword [eax + 0xbc1dd4]
mov byte [eax + 0xbc1dd8], 0
lea edx, [esp + 0xf0]
mov byte [eax + 0xbc1dd9], 0
sub eax, edx
lea ecx, [esp + 0xf0]
lea edx, [eax + 0xbc1d70]
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x5b0fd6
inc dword [0xbc3ffc]
jmp case.default.0x5b0890
mov eax, dword [esp + 0x6c]
push eax
call fcn.008213ae
mov al, byte [esp + 0x17]
add esp, 4
test al, al
jne 0x5b100a
push 0
call fcn.0055ff20
add esp, 4
mov eax, dword [0xb5f858]
test eax, eax
mov ebx, dword [0xbc3fe8]
jle 0x5b1083
mov ebp, eax
lea edi, [ebx*4 + 0xbc31c0]
mov ecx, ebp
mov eax, 2
mov edx, ebx
rep stosd dword es:[edi], eax
shl edx, 5
xor edi, edi
add ebx, ebp
mov dword [0xbc3fe8], ebx
lea ebx, [ebx]
lea eax, [edi + 0xb5f208]
mov ecx, edx
sub ecx, eax
lea esi, [ecx + 0xbc38c8]
mov cl, byte [eax]
mov byte [eax + esi], cl
inc eax
test cl, cl
jne 0x5b1050
lea eax, [edi + 0xb5ebc8]
mov ecx, edx
sub ecx, eax
lea esi, [ecx + 0xbc3288]
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [eax + esi], cl
inc eax
test cl, cl
jne 0x5b1070
add edx, 0x20
add edi, 0x20
dec ebp
jne 0x5b1040
xor edi, edi
cmp ebx, edi
mov dword [0xb5f858], edi
jne 0x5b10aa
call fcn.005afbc0
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebp, 1
jle 0x5b1174
mov ebx, dword [esp + 0x2c]
mov esi, 0xbc38c8
mov edi, edi
push str.csplay
push esi
call fcn.008229b6
add esp, 8
test eax, eax
jne 0x5b10de
mov dword [edi*4 + 0xbc31c0], ebp
jmp 0x5b1163
mov eax, dword [edi*4 + 0xbc31c0]
cmp eax, 2
jne 0x5b1150
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.004c5940
add esp, 8
test eax, eax
push 0x1c
je 0x5b1114
mov eax, dword [esp + 0x30]
push eax
mov dword [edi*4 + 0xbc31c0], eax
call fcn.004087e0
add esp, 8
jmp 0x5b1163
lea eax, [ebx + 0x12c]
push esi
push eax
mov dword [edi*4 + 0xbc31c0], eax
call fcn.00409d10
add esp, 0xc
inc ebx
lea eax, [ebx + ebx*4]
mov cl, byte [eax*4 + 0x8e6440]
cmp cl, 1
lea eax, [eax*4 + 0x8e6440]
jne 0x5b1163
mov cl, byte [eax + 0x14]
add eax, 0x14
inc ebx
cmp cl, 1
je 0x5b1142
jmp 0x5b1163
cmp eax, 3
jne 0x5b1163
mov eax, dword [edi*4 + 0xbc31bc]
mov dword [edi*4 + 0xbc31c0], eax
mov eax, dword [0xbc3fe8]
inc edi
add esi, 0x20
cmp edi, eax
jl 0x5b10c0
push ebp
call fcn.0040ea10
mov ecx, dword [esp + 0x558]
add esp, 4
pop edi
mov dword [0xb5f84c], ebp
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret