Function at 0x594b40
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
push 0
push dword [ebx]
mov ebp, dword [esi + 0x160]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
lea edi, [ebp + 0x14]
push edi
push esi
call fcn.00591d90
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x594bce
push dword [ebx]
lea eax, [ebp + 0x50]
push eax
call fcn.005937e0
add esp, 8
test eax, eax
je 0x594c30
push 0x18
push eax
push edi
push esi
call fcn.00591d90
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x594c30
cmp byte [esi + 0xe8], 0
je 0x594bce
push eax
push esi
call fcn.00594580
add esp, 8
test eax, eax
je 0x594c30
mov eax, dword [esp + 0x2c]
push dword [esi + 0x184]
mov ebp, dword [eax + 0xc]
push dword [esi + 0x178]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push ebx
push eax
mov eax, dword [eax + 0x24]
mov dword [esp + 0x38], ebp
call eax
mov edi, dword [esi + 0x178]
mov ecx, eax
mov dword [esp + 0x30], ecx
add esp, 0x10
add ecx, ebp
cmp ecx, edi
jle 0x594c5e
mov eax, dword [esi + 0x10]
add ecx, 0x10
mov dword [esi + 0x178], ecx
shl ecx, 4
push ecx
push dword [esi + 0x184]
call eax
add esp, 8
test eax, eax
jne 0x594c3d
mov dword [esi + 0x178], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7c
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x184], eax
cmp ecx, edi
jle 0x594c5e
push eax
mov eax, dword [esp + 0x98]
push ecx
push ebx
push eax
mov eax, dword [eax + 0x24]
call eax
add esp, 0x10
mov edx, dword [esi + 0x184]
xor ebx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x20], ebx
jle 0x594e54
mov ebp, dword [esp + 0x94]
xor ecx, ecx
mov dword [esp + 0x30], ecx
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi + 0x184]
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], edx
mov edi, dword [eax + ecx]
mov eax, dword [ebp + 0x1c]
push edi
push ebp
call eax
add eax, edi
push eax
push edi
push ebp
push esi
call fcn.00591240
mov edi, eax
add esp, 0x18
test edi, edi
je 0x594c30
mov eax, dword [edi]
cmp word [eax - 2], 0
jne 0x594ea6
mov edx, dword [esp + 0x18]
mov ecx, 1
mov ebp, dword [esp + 0x30]
mov word [eax - 2], cx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [edx + ecx*4], eax
inc ecx
add ebp, dword [esi + 0x184]
mov dword [esp + 0x14], ecx
cmp byte [ebp + 0xc], 0
jne 0x594d6e
cmp byte [edi + 8], 0
mov byte [esp + 0x38], 1
je 0x594d2f
xor ecx, ecx
cmp dword [esp + 0x28], ecx
jle 0x594d2f
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
mov eax, edx
cmp edi, dword [eax]
je 0x594d24
inc ecx
add eax, 0xc
cmp ecx, dword [esp + 0x28]
jl 0x594d14
jmp 0x594d2f
lea eax, [ecx + ecx*2]
mov al, byte [edx + eax*4 + 4]
mov byte [esp + 0x38], al
lea eax, [esi + 0x19c]
push eax
push dword [ebp + 8]
push dword [ebp + 4]
mov ebp, dword [esp + 0xa0]
push dword [esp + 0x44]
push ebp
push esi
call fcn.00594ac0
add esp, 0x18
test eax, eax
jne 0x595657
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 0x1ac]
mov dword [ecx], eax
jmp 0x594dd4
push dword [ebp + 8]
lea ebx, [esi + 0x19c]
push dword [ebp + 4]
mov ebp, dword [esp + 0x9c]
push ebp
push ebx
call fcn.00593360
add esp, 0x10
test eax, eax
je 0x594e8a
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x594dac
push ebx
call fcn.005939e0
add esp, 4
test al, al
je 0x594e8a
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov word [eax], cx
mov ecx, dword [esp + 0x14]
add dword [ebx + 0xc], 2
lea ecx, [edx + ecx*4]
mov eax, dword [ebx + 0x10]
mov dword [ecx], eax
test eax, eax
je 0x594c30
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x594e27
cmp byte [edi + 9], 0
je 0x594e0f
push dword [esp + 0xa0]
push dword [ecx]
push edi
push eax
push esi
call fcn.0058d750
add esp, 0x14
test eax, eax
jne 0x595657
mov edx, dword [esp + 0x44]
jmp 0x594e2e
mov eax, dword [edi]
mov ecx, 2
mov edx, dword [esp + 0x34]
add edx, 2
inc dword [esp + 0x24]
mov word [eax - 2], cx
jmp 0x594e2e
mov edx, dword [esp + 0x34]
add edx, 2
mov ecx, dword [esp + 0x30]
inc ebx
add ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ecx
cmp ebx, dword [esp + 0x20]
jl 0x594c90
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x17c], ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x594ed8
mov ecx, dword [ecx]
cmp word [ecx - 2], 0
je 0x594ed8
xor eax, eax
test ebx, ebx
jle 0x594ed2
cmp dword [edx + eax*4], ecx
je 0x594ecc
add eax, 2
cmp eax, ebx
jl 0x594e78
mov eax, dword [esp + 0x2c]
jmp 0x594ee2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax + ecx*4], 0
mov eax, 1
pop ebx
add esp, 0x7c
ret
cmp ebp, dword [esi + 0x90]
jne 0x594ebf
mov eax, dword [esi + 0x184]
add ebx, ebx
mov eax, dword [eax + ebx*8]
mov dword [esi + 0x11c], eax
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x7c
ret
mov dword [esi + 0x180], eax
mov eax, dword [esp + 0x2c]
jmp 0x594ee2
mov dword [esi + 0x180], 0xffffffff
xor edi, edi
test ebp, ebp
jle 0x594f9f
xor ebp, ebp
nop
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + ebp]
add ecx, ebp
mov edx, dword [eax]
cmp word [edx - 2], 0
jne 0x594f3b
mov ebx, dword [ecx + 8]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x594f37
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x594f77
cmp byte [eax + 9], 0
je 0x594f4b
push dword [esp + 0xa0]
push dword [esp + 0x48]
push eax
push ebx
push esi
call fcn.0058d750
add esp, 0x14
test eax, eax
jne 0x595657
mov ebx, dword [esp + 0x14]
inc edi
add ebp, 0xc
cmp edi, dword [esp + 0x28]
jge 0x594f9f
mov eax, dword [esp + 0x2c]
jmp 0x594ef0
mov ebx, dword [esp + 0x14]
mov eax, 2
inc dword [esp + 0x24]
mov word [edx - 2], ax
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [edx + ebx*4], eax
mov eax, dword [ecx + 8]
mov dword [edx + ebx*4 + 4], eax
add ebx, 2
mov dword [esp + 0x14], ebx
jmp 0x594f3b
mov ebx, dword [esp + 0x14]
mov eax, 1
mov word [edx - 2], ax
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [edx + ebx*4], eax
mov eax, dword [ecx + 8]
mov dword [edx + ebx*4 + 4], eax
add ebx, 2
mov dword [esp + 0x14], ebx
jmp 0x594f3b
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [eax + ebx*4], 0
cmp dword [esp + 0x24], edi
je 0x595499
mov ebx, dword [esp + 0x24]
mov ebp, 1
mov eax, dword [esi + 0x18c]
mov dl, byte [esi + 0x190]
mov dword [esp + 0x28], eax
movzx ecx, dl
lea eax, [ebx + ebx]
shl ebp, cl
sar eax, cl
mov byte [esp + 0x13], dl
mov dword [esp + 0x1c], ebp
test eax, eax
je 0x595059
mov cl, dl
nop dword [eax + eax]
mov eax, ebx
sar eax, cl
inc cl
test eax, eax
jne 0x594ff0
mov byte [esi + 0x190], cl
cmp cl, 3
jae 0x59500e
mov byte [esi + 0x190], 3
mov cl, 3
mov ebp, 1
lea ebx, [esi + 0x188]
shl ebp, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
lea eax, [ebp*2]
add eax, ebp
shl eax, 2
push eax
push dword [ebx]
call ecx
add esp, 8
test eax, eax
jne 0x595055
mov cl, byte [esp + 0x13]
mov eax, 1
pop edi
mov byte [esi + 0x190], cl
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov dword [ebx], eax
jmp 0x59506b
mov eax, dword [esp + 0x28]
lea ebx, [esi + 0x188]
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x595099
or eax, 0xffffffff
mov edx, ebp
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x595099
lea ecx, [ebp*2]
add ecx, ebp
shl ecx, 2
mov eax, dword [ebx]
lea ecx, [ecx - 0xc]
mov dword [ecx + eax], 0xffffffff
sub edx, 1
jne 0x595084
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
mov dword [esi + 0x18c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x5954b8
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + edi*4]
mov edi, dword [ecx]
mov dword [esp + 0x50], ecx
cmp word [edi - 2], 2
jne 0x595473
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x5950df
push eax
call fcn.00591840
add esp, 4
mov ebx, eax
jmp 0x5950e5
mov ebx, dword [esi + 0x1ec]
xor edx, edx
mov dword [esp + 0x54], 0x70736575
mov eax, edx
mov dword [esp + 0x58], 0x736f6d65
xor eax, 0x646f7261
mov dword [esp + 0x64], 0x6e657261
mov dword [esp + 0x60], eax
mov ecx, ebx
lea eax, [esp + 0x74]
mov dword [esp + 0x68], 0x6c796765
mov dword [esp + 0x7c], eax
xor ecx, 0x6e646f6d
xor eax, eax
mov dword [esp + 0x5c], ecx
push eax
mov word [edi - 2], ax
xor edx, 0x74656462
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
push edi
add eax, 0x28
mov dword [esp + 0x78], edx
push eax
xor ebx, 0x79746573
movlpd qword [esp + 0x90], xmm0
push esi
mov dword [esp + 0x7c], ebx
call fcn.00591d90
add esp, 0x10
test eax, eax
je 0x594c30
mov eax, dword [eax + 4]
test eax, eax
je 0x594c30
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x5954f6
mov eax, dword [ecx + 0x14]
xor ebx, ebx
test eax, eax
jle 0x5951f0
mov edx, dword [esp + 0x20]
nop
mov eax, dword [esp + 0x1c]
mov ebp, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x10]
movzx eax, word [eax + ebx*2]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x5951ca
lea eax, [esi + 0x19c]
push eax
call fcn.005939e0
add esp, 4
test al, al
je 0x594c30
mov eax, dword [esi + 0x1a8]
inc ebx
mov ecx, dword [esp + 0x40]
mov edx, ebp
mov word [eax], cx
mov ecx, dword [esp + 0x44]
add dword [esi + 0x1a8], 2
mov eax, dword [ecx + 0x14]
cmp ebx, eax
jl 0x595190
mov dword [esp + 0x20], ebp
mov ebx, dword [esp + 0x1c]
add eax, eax
push eax
push dword [ecx + 0x10]
lea eax, [esp + 0x5c]
push eax
call fcn.005947f0
add esp, 0xc
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
cmp ax, 0x3a
jne 0x595210
xor ecx, ecx
mov eax, edi
cmp word [edi], cx
je 0x59522f
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x595225
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x58]
push edi
push eax
call fcn.005947f0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
nop word [eax + eax]
mov eax, dword [esi + 0x1a8]
mov ebp, ecx
mov dword [esp + 0x3c], ebx
cmp eax, dword [esi + 0x1a4]
jne 0x59527b
lea eax, [esi + 0x19c]
push eax
call fcn.005939e0
add esp, 4
test al, al
je 0x594c30
mov ecx, dword [esi + 0x1a8]
movzx eax, word [edi]
mov word [ecx], ax
mov ecx, ebp
add dword [esi + 0x1a8], 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x595250
lea eax, [esp + 0x54]
push eax
call fcn.00594680
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x34], eax
xor bl, bl
mov dword [esp + 0x1c], ecx
mov edx, ebp
mov dword [esp + 0x20], edx
lea edi, [ecx - 1]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], edi
and edi, eax
mov eax, dword [ebp]
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], eax
lea eax, [edi + edi*2]
mov edi, dword [ebp]
cmp dword [edi + eax*4], ecx
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
jne 0x595425
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
nop word [eax + eax]
mov ecx, dword [esp + 0x34]
lea eax, [edi + edi*2]
cmp ecx, dword [edx + eax*4 + 4]
jne 0x595350
mov ecx, dword [esi + 0x1ac]
mov ebp, dword [edx + eax*4 + 8]
movzx eax, word [ecx]
mov edi, eax
cmp ax, word [ebp]
jne 0x59533f
mov edx, eax
sub ebp, ecx
movzx edi, dx
test dx, dx
je 0x59533f
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
mov edi, eax
cmp ax, word [ecx + ebp]
je 0x595326
test di, di
je 0x594ebf
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test bl, bl
jne 0x595370
mov eax, dword [esp + 0x4c]
mov ebx, eax
not ebx
shr eax, 2
and ebx, ecx
movzx ecx, byte [esi + 0x190]
dec ecx
shr ebx, cl
and bl, al
or bl, 1
mov ebp, dword [esp + 0x1c]
mov edx, edi
movzx ecx, bl
sub edx, ecx
cmp edi, ecx
mov ecx, dword [esp + 0x28]
lea eax, [edx + ebp]
cmovge eax, edx
mov edx, dword [esp + 0x40]
mov edi, eax
mov dword [esp + 0x30], edi
lea eax, [edi + edi*2]
cmp dword [edx + eax*4], ecx
je 0x595300
mov edx, dword [esp + 0x20]
cmp byte [esi + 0xe9], 0
je 0x59542e
mov ecx, dword [esi + 0x1a8]
mov ax, word [esi + 0x1d4]
mov word [ecx - 2], ax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov edi, dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x1a8]
mov ebx, edx
cmp eax, dword [esi + 0x1a4]
jne 0x5953f7
lea eax, [esi + 0x19c]
push eax
call fcn.005939e0
add esp, 4
test al, al
je 0x594c30
mov ecx, dword [esi + 0x1a8]
mov edx, ebx
movzx eax, word [edi]
mov word [ecx], ax
add dword [esi + 0x1a8], 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x5953d0
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
jmp 0x595432
mov ebp, dword [esp + 0x1c]
jmp 0x5953a1
mov ebx, dword [esp + 0x20]
sub dword [esp + 0x24], 1
lea ecx, [edi + edi*2]
mov eax, dword [esi + 0x1a8]
mov edx, dword [esi + 0x1ac]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x1ac], eax
mov eax, dword [esp + 0x50]
mov dword [eax], edx
mov eax, dword [ebx]
mov dword [eax + ecx*4], ebp
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edi
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edx
je 0x59548e
mov eax, dword [esp + 0x14]
jmp 0x595479
xor ecx, ecx
mov word [edi - 2], cx
mov edi, dword [esp + 0x38]
add edi, 2
mov dword [esp + 0x38], edi
cmp edi, eax
jl 0x5950b0
jmp 0x5954b8
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
add edi, 2
cmp edi, ebx
jge 0x5954b8
mov esi, dword [esp + 0x18]
mov eax, dword [esi + edi*4]
xor ecx, ecx
add edi, 2
mov word [eax - 2], cx
cmp edi, ebx
jl 0x5954a1
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
test ecx, ecx
je 0x5954d7
mov eax, dword [ecx + 0xc]
xor edx, edx
mov eax, dword [eax]
mov word [eax - 2], dx
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x5954c5
cmp byte [esi + 0xe8], 0
je 0x595655
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x59551e
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x595503
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x7c
ret
mov ebp, dword [esp + 0x9c]
mov edi, dword [ebp]
nop dword [eax]
mov ax, word [edi]
add edi, 2
cmp ax, 0x3a
jne 0x595510
jmp 0x59553a
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x9c]
test ebx, ebx
je 0x595655
mov ebp, dword [esp + 0x9c]
mov edi, dword [ebp]
xor edx, edx
mov dword [esp + 0x44], edx
cmp byte [esi + 0xe9], dl
je 0x595560
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x595560
mov ax, word [ecx]
lea ecx, [ecx + 2]
inc edx
test ax, ax
jne 0x595550
mov dword [esp + 0x44], edx
mov dword [ebp + 4], edi
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], edx
xor ebp, ebp
nop word [eax + eax]
lea eax, [ebp*2]
inc ebp
cmp word [eax + edi], 0
jne 0x595580
mov eax, dword [ebx + 0x14]
add eax, edx
add eax, ebp
cmp eax, dword [ebx + 0x18]
jle 0x595605
add eax, 0x18
mov dword [esp + 0x50], eax
add eax, eax
push eax
mov eax, dword [esi + 0xc]
call eax
mov ecx, eax
add esp, 4
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x594c30
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
add eax, eax
push eax
push dword [ebx + 0x10]
push ecx
call fcn.0052d690
mov ecx, dword [esi + 0x168]
add esp, 0xc
test ecx, ecx
je 0x5955f3
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 0x10]
jne 0x5955ed
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5955e2
push dword [ebx + 0x10]
mov eax, dword [esi + 0x14]
call eax
mov eax, dword [esp + 0x4c]
add esp, 4
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0x14]
add ebp, ebp
mov eax, dword [ebx + 0x10]
push ebp
push edi
lea eax, [eax + ecx*2]
push eax
mov dword [esp + 0x5c], eax
call fcn.0052d690
mov edx, dword [esp + 0x50]
add esp, 0xc
test edx, edx
je 0x595649
mov ecx, dword [esp + 0x50]
mov ax, word [esi + 0x1d4]
add ecx, ebp
mov word [ecx - 2], ax
lea eax, [edx + edx]
push eax
mov eax, dword [ebx]
push dword [eax]
push ecx
call fcn.0052d690
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0x9c]
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret