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

Disassembly:
jmp 0x51e180
sub esp, 0xf8
mov ecx, dword [esp + 0xfc]
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x108]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov edx, esi
lea ecx, [ecx]
mov eax, dword [ecx]
inc dword [esp + eax*4 + 0x44]
lea eax, [esp + eax*4 + 0x44]
add ecx, 4
sub edx, 1
jne 0x51e1e0
cmp dword [esp + 0x44], esi
jne 0x51e215
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
mov dword [eax], ebx
pop esi
mov dword [ecx], ebx
xor eax, eax
pop ebx
add esp, 0xf8
ret
mov esi, dword [esp + 0x11c]
push ebp
mov ebp, dword [esi]
mov dword [esp + 0xc], ebp
mov ecx, 1
cmp dword [esp + ecx*4 + 0x48], ebx
jne 0x51e234
inc ecx
cmp ecx, 0xf
jbe 0x51e228
mov eax, ecx
mov dword [esp + 0x14], eax
cmp ebp, ecx
jae 0x51e244
mov dword [esp + 0xc], ecx
mov ebp, ecx
mov edx, 0xf
lea esp, [esp]
cmp dword [esp + edx*4 + 0x48], ebx
jne 0x51e25b
sub edx, 1
jne 0x51e250
mov dword [esp + 0x24], edx
cmp ebp, edx
jbe 0x51e269
mov dword [esp + 0xc], edx
mov ebp, edx
mov dword [esi], ebp
mov esi, 1
shl esi, cl
cmp ecx, edx
jae 0x51e283
sub esi, dword [esp + ecx*4 + 0x48]
js 0x51e2ad
inc ecx
add esi, esi
cmp ecx, edx
jb 0x51e276
lea ecx, [edx*4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + ecx + 0x48]
push edi
mov edi, dword [ecx]
sub esi, edi
mov dword [esp + 0x48], esi
jns 0x51e2bc
pop edi
pop ebp
pop esi
mov eax, 0xfffffffd
pop ebx
add esp, 0xf8
ret
pop ebp
pop esi
mov eax, 0xfffffffd
pop ebx
add esp, 0xf8
ret
add edi, esi
mov dword [ecx], edi
xor ecx, ecx
sub edx, 1
mov dword [esp + 0x90], ebx
je 0x51e2e3
xor edi, edi
add ecx, dword [esp + edi + 0x50]
add edi, 4
sub edx, 1
mov dword [esp + edi + 0x90], ecx
jne 0x51e2d0
mov edx, dword [esp + 0x10c]
xor edi, edi
lea esp, [esp]
mov ecx, dword [edx]
add edx, 4
mov dword [esp + 0x1c], edx
cmp ecx, ebx
je 0x51e31e
mov edx, dword [esp + ecx*4 + 0x8c]
mov ebx, dword [esp + 0x130]
lea ecx, [esp + ecx*4 + 0x8c]
mov dword [ebx + edx*4], edi
inc edx
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
xor ebx, ebx
inc edi
cmp edi, dword [esp + 0x110]
jb 0x51e2f0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + edx + 0x8c]
mov edx, dword [esp + 0x130]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x8c], ebx
mov ebx, ebp
mov dword [esp + 0x110], ecx
xor ecx, ecx
or edi, 0xffffffff
neg ebx
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ecx
jg 0x51e5de
mov esi, dword [esp + 0x38]
lea ecx, [eax - 1]
lea edx, [esp + eax*4 + 0x4c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x51e5c0
dec dword [esp + 0x20]
lea ecx, [ebx + ebp]
cmp eax, ecx
jle 0x51e4b1
mov dword [esp + 0x3c], ecx
mov ecx, ebx
sub ecx, ebp
jmp 0x51e3b8
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
add dword [esp + 0x3c], ebp
add ebx, ebp
inc edi
add ecx, ebp
sub edx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x44], ecx
cmp edx, ebp
jbe 0x51e3d5
mov edx, ebp
mov ebp, dword [esp + 0x20]
mov ecx, eax
sub ecx, ebx
mov eax, 1
shl eax, cl
inc ebp
cmp eax, ebp
jbe 0x51e417
mov ebp, dword [esp + 0x30]
or edi, 0xffffffff
sub edi, dword [esp + 0x20]
add eax, edi
cmp ecx, edx
jae 0x51e413
inc ecx
cmp ecx, edx
jae 0x51e413
nop
mov edi, dword [ebp + 4]
add ebp, 4
add eax, eax
cmp eax, edi
jbe 0x51e413
inc ecx
sub eax, edi
cmp ecx, edx
jb 0x51e400
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x12c]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
mov dword [esp + 0x14], edx
add edx, eax
cmp edx, 0x5a0
ja 0x51e5f9
mov ebp, dword [esp + 0x128]
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x2c], ebp
mov dword [esp + edi*4 + 0xcc], ebp
mov dword [eax], edx
test edi, edi
je 0x51e498
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x10]
mov eax, esi
mov byte [esp + 0x34], cl
mov ecx, dword [esp + 0x44]
mov dword [esp + edi*4 + 0x8c], esi
shr eax, cl
mov ecx, dword [esp + edi*4 + 0xc8]
mov esi, ebp
sub esi, ecx
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x34]
sar esi, 3
sub esi, eax
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
jmp 0x51e4a1
mov eax, dword [esp + 0x120]
mov dword [eax], ebp
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jg 0x51e3b0
mov ecx, dword [esp + 0x130]
mov ebp, dword [esp + 0x1c]
mov dl, al
sub dl, bl
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x110]
lea ecx, [ecx + edx*4]
cmp ebp, ecx
jb 0x51e4d9
mov byte [esp + 0x34], 0xc0
jmp 0x51e51f
mov esi, dword [ebp]
mov ecx, dword [esp + 0x114]
cmp esi, ecx
jae 0x51e4f7
cmp esi, 0x100
sbb dl, dl
and dl, 0xa0
add dl, 0x60
jmp 0x51e514
sub esi, ecx
mov ecx, dword [esp + 0x11c]
add esi, esi
add esi, esi
mov dl, byte [esi + ecx]
mov ecx, dword [esp + 0x118]
mov esi, dword [esi + ecx]
add dl, 0x50
add ebp, 4
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x34], dl
mov ecx, eax
mov eax, dword [esp + 0x24]
sub ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, dword [esp + 0x14]
jae 0x51e55a
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx + eax*8]
nop
mov ebp, dword [esp + 0x34]
mov dword [ecx], ebp
lea ebp, [edx*8]
mov dword [ecx + 4], esi
add eax, edx
add ecx, ebp
cmp eax, dword [esp + 0x14]
jb 0x51e540
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov eax, 1
shl eax, cl
test edx, eax
je 0x51e578
lea ecx, [ecx]
xor edx, eax
shr eax, 1
test edx, eax
jne 0x51e570
xor edx, eax
mov eax, 1
mov ecx, ebx
shl eax, cl
mov dword [esp + 0x24], edx
dec eax
and eax, edx
cmp eax, dword [esp + edi*4 + 0x8c]
je 0x51e5ad
sub ebx, dword [esp + 0x10]
mov eax, 1
mov ecx, ebx
shl eax, cl
dec edi
dec eax
and eax, edx
cmp eax, dword [esp + edi*4 + 0x8c]
jne 0x51e593
cmp dword [esp + 0x20], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
jne 0x51e397
add dword [esp + 0x30], 4
inc dword [esp + 0x40]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jle 0x51e385
mov esi, dword [esp + 0x48]
xor ecx, ecx
cmp esi, ecx
je 0x51e609
cmp dword [esp + 0x28], 1
je 0x51e609
pop edi
pop ebp
pop esi
mov eax, 0xfffffffb
pop ebx
add esp, 0xf8
ret
pop edi
pop ebp
pop esi
mov eax, 0xfffffffc
pop ebx
add esp, 0xf8
ret
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0xf8
ret