Function at 0x592d60
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x178
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x17c]
push ebx
push ebp
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x190]
mov esi, 0x10
push edi
cmp dword [eax + 0x18], esi
jb 0x592d99
mov ecx, dword [eax + 4]
jmp 0x592d9c
lea ecx, [eax + 4]
call fcn.00467390
test eax, eax
je 0x592dbd
mov eax, dword [0x88c4a0]
mov edx, dword [eax]
push 0xffffffffffffffff
push 0x81da84
push ecx
mov ecx, eax
mov eax, dword [edx + 8]
call eax
jmp 0x592dc2
call fcn.00472e10
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
jbe 0x592fbc
push ebx
push 4
lea ecx, [esp + 0x80]
push 1
push ecx
mov byte [esp + 0x8c], 0
call fcn.00592820
add esp, 0x10
mov ecx, str.RIFF
lea eax, [esp + 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x592e14
test dl, dl
je 0x592e10
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x592e14
add eax, 2
add ecx, 2
test dl, dl
jne 0x592df4
xor eax, eax
jmp 0x592e19
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x592fbc
push ebx
push 1
lea edx, [esp + 0x28]
push 4
push edx
call fcn.00592820
push ebx
push 4
lea eax, [esp + 0x90]
push 1
push eax
call fcn.00592820
add esp, 0x20
mov ecx, str.WAVE
lea eax, [esp + 0x78]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x592e70
test dl, dl
je 0x592e6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x592e70
add eax, 2
add ecx, 2
test dl, dl
jne 0x592e50
xor eax, eax
jmp 0x592e75
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x592fbc
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0x5622
mov byte [esp + 0x17], 0
call fcn.00467390
test eax, eax
je 0x592eb3
cmp dword [ebx], ebp
je 0x592eb3
mov ecx, dword [0x88c4a0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push ebx
call eax
jmp 0x592ebc
mov ecx, dword [ebx + 0x14]
cmp ecx, dword [ebx + 0x10]
sbb eax, eax
inc eax
cmp eax, ebp
jne 0x592fbc
push ebx
push 4
lea edx, [esp + 0x80]
push 1
push edx
call fcn.00592820
push ebx
push 1
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00592820
add esp, 0x20
test eax, eax
je 0x592fbc
call fcn.00467390
test eax, eax
je 0x592f0f
cmp dword [ebx], ebp
je 0x592f0f
mov ecx, dword [0x88c4a0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push ebx
call eax
mov esi, eax
jmp 0x592f12
mov esi, dword [ebx + 0x14]
mov ecx, str.fmt
lea eax, [esp + 0x78]
jmp 0x592f20
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x592f40
test dl, dl
je 0x592f3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x592f40
add eax, 2
add ecx, 2
test dl, dl
jne 0x592f20
xor eax, eax
jmp 0x592f45
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x592fd9
push ebx
push 1
lea ecx, [esp + 0x2c]
push 2
push ecx
call fcn.00592820
push ebx
push 1
lea edx, [esp + 0x54]
push 2
push edx
call fcn.00592820
push ebx
push 1
lea eax, [esp + 0x68]
push 4
push eax
call fcn.00592820
push ebx
push 1
lea ecx, [esp + 0x88]
push 4
push ecx
call fcn.00592820
add esp, 0x40
push ebx
push 1
lea edx, [esp + 0x54]
push 2
push edx
call fcn.00592820
push ebx
push 1
lea eax, [esp + 0x50]
push 2
push eax
call fcn.00592820
add esp, 0x20
cmp word [esp + 0x24], 1
je 0x593169
xor al, al
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00643db8
add esp, 0x178
ret 0xc
mov ecx, str.dep
lea eax, [esp + 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x593002
test dl, dl
je 0x592ffe
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x593002
add eax, 2
add ecx, 2
test dl, dl
jne 0x592fe2
xor eax, eax
jmp 0x593007
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x5930ea
push ebx
push 1
lea ecx, [esp + 0x20]
push 2
push ecx
call fcn.00592820
mov eax, dword [esp + 0x28]
mov edx, 0xff
add esp, 0x10
cmp ax, dx
jbe 0x593035
mov eax, edx
mov dword [esp + 0x18], eax
movzx eax, ax
push ebx
push eax
lea ecx, [esp + 0x88]
push 1
push ecx
call fcn.00592820
movzx edx, word [esp + 0x28]
push ebx
push 1
lea eax, [esp + 0x40]
push 8
push eax
mov byte [esp + edx + 0xa0], 0
call fcn.00592820
add esp, 0x20
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov byte [esp + 0x58], al
lea eax, [esp + 0x80]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x593090
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004016e0
lea edi, [esp + 0x44]
lea ecx, [esp + 0x54]
call fcn.00594030
cmp dword [esp + 0x6c], 0x10
jb 0x5930cc
mov edx, dword [esp + 0x58]
push edx
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x48]
jne 0x592fbc
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x44]
jne 0x592fbc
jmp 0x593169
mov ecx, str.xor
lea eax, [esp + 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x593113
test dl, dl
je 0x59310f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x593113
add eax, 2
add ecx, 2
test dl, dl
jne 0x5930f3
xor eax, eax
jmp 0x593118
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x593130
push ebx
push 1
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.00592820
add esp, 0x10
jmp 0x593169
mov ecx, str.data
lea eax, [esp + 0x78]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x593160
test dl, dl
je 0x59315c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x593160
add eax, 2
add ecx, 2
test dl, dl
jne 0x593140
xor eax, eax
jmp 0x593165
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x59319a
mov eax, dword [esp + 0x20]
lea edx, [esi + eax]
call fcn.00467390
test eax, eax
je 0x593192
cmp dword [ebx], ebp
je 0x593192
mov ecx, dword [0x88c4a0]
mov eax, dword [ecx]
push ebp
push edx
mov edx, dword [eax + 0x10]
push ebx
call edx
jmp 0x592e96
mov dword [ebx + 0x14], edx
jmp 0x592e96
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x190]
mov ebp, dword [esp + 0x38]
mov dword [eax + edx*4 + 0x20008], ecx
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x40]
mov eax, 1
mov word [esp + 0x28], ax
mov eax, dword [esp + 0x3c]
mov word [esp + 0x2a], ax
movzx eax, ax
movzx edx, bp
imul eax, edx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x190]
sar eax, 3
mov word [esp + 0x34], ax
movzx eax, ax
imul eax, edi
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x3010c]
push 0
lea edi, [edi + edx*4 + 4]
mov esi, ecx
mov dword [esp + 0x60], ecx
push edi
lea ecx, [esp + 0x30]
lea edx, [esp + 0x5c]
mov word [esp + 0x3e], bp
mov dword [esp + 0x5c], 0x24
mov dword [esp + 0x60], 0x80ea
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x593282
push ebx
call fcn.00592760
add esp, 4
jmp 0x592fbc
mov eax, dword [edi]
mov ecx, dword [eax]
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x28]
push edx
push esi
push 0
push eax
mov eax, dword [ecx + 0x2c]
call eax
push ebx
test eax, eax
jne 0x593275
mov ecx, dword [esp + 0x1c]
push esi
push 1
push ecx
call fcn.00592820
push ebx
mov ebp, eax
call fcn.00592760
add esp, 0x14
xor eax, eax
test esi, esi
jle 0x5932d2
mov ecx, dword [esp + 0x18]
mov dl, byte [esp + 0x17]
xor byte [eax + ecx], dl
inc eax
cmp eax, esi
jl 0x5932c2
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi]
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 0x4c]
push 0
push 0
push ecx
push edx
push edi
call eax
test eax, eax
jne 0x592fbc
cmp ebp, esi
sete al
jmp 0x592fbe