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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x254
mov eax, dword [0x4dd704]
xor eax, esp
mov dword [esp + 0x250], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
test edx, edx
jne 0x458790
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0049bf8d
mov esp, ebp
pop ebp
ret 0x14
test ecx, ecx
je 0x458af4
test eax, eax
je 0x458af4
test dl, 0xf
jne 0x458af4
test esi, esi
je 0x458af4
cmp dword [ebp + 0x18], 0x10
jne 0x458af4
cmp dword [edi + 0x14], 0
jle 0x458af4
cmp byte [edi + 0x18], 0
lea edx, [esi + 0x10]
mov dword [esp + 0x14], edx
je 0x458892
test esi, 0xf
jne 0x458827
lea edx, [esp + 0x20]
test edx, 0xf
jne 0x458823
cmp esi, dword [esp + 0x14]
jae 0x4588c6
mov ebx, edx
sub ebx, esi
jmp 0x458800
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
lea eax, [ebx + esi]
push eax
push esi
push ecx
push edx
call fcn.004877d0
add esi, 0x10
add esp, 0x10
cmp esi, dword [esp + 0x14]
jb 0x458800
jmp 0x4588be
mov edx, dword [esp + 0x14]
cmp esi, edx
jae 0x4588c6
lea ebx, [esp + 0x20]
sub ebx, esi
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x5c], edx
mov edx, ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x14]
push edx
push eax
push ecx
call fcn.004877d0
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [ebx + esi], edx
mov edx, dword [esp + 0x6c]
mov dword [ebx + esi + 4], eax
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
add esi, 0x10
add esp, 0x10
cmp esi, dword [esp + 0x14]
jb 0x458835
jmp 0x4588be
cmp esi, edx
jae 0x4588c6
lea ebx, [esp + 0x20]
sub ebx, esi
lea esp, [esp]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
lea eax, [ebx + esi]
push eax
push esi
push ecx
push edx
call fcn.0047f570
add esi, 0x10
add esp, 0x10
cmp esi, dword [esp + 0x14]
jb 0x4588a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp byte [edi + 8], 0
mov edx, dword [ebp + 0x10]
je 0x458979
shr edx, 4
mov dword [esp + 0x14], edx
test al, 0xf
jne 0x458902
test ecx, 0xf
jne 0x458902
push edx
mov edx, dword [edi]
push ecx
push eax
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.00487900
add esp, 0x18
jmp 0x458777
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test edx, edx
jbe 0x458777
jmp 0x458918
mov edx, dword [esp + 0x14]
mov ebx, edx
cmp edx, 0x20
jb 0x458924
mov ebx, 0x20
mov eax, dword [esp + 0x18]
mov esi, ebx
shl esi, 4
push esi
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0049c200
mov ecx, dword [edi + 4]
push ebx
lea edx, [esp + 0x60]
push edx
mov eax, edx
push eax
mov eax, dword [edi]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.00487900
mov edx, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x78]
push ecx
push edx
call fcn.0049c200
add dword [esp + 0x48], esi
add dword [esp + 0x4c], esi
add esp, 0x30
sub dword [esp + 0x14], ebx
jne 0x458914
jmp 0x458777
shr edx, 2
lea edx, [eax + edx*4]
mov dword [esp + 0x4c], edx
mov ebx, ecx
cmp eax, edx
jae 0x458777
lea esi, [esp + 0x38]
mov edx, ecx
sub edx, esi
mov dword [esp + 0x18], edx
lea edx, [esp + 0x20]
sub edx, ecx
mov dword [esp + 0x1c], edx
mov edx, eax
lea esi, [esp + 0x20]
sub edx, esi
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
xor eax, eax
lea ecx, [esp + eax + 0x20]
mov esi, dword [ecx + edx]
xor esi, dword [ecx]
add eax, 4
mov dword [esp + eax + 0x34], esi
cmp eax, 0x10
jb 0x4589b7
test ebx, ebx
je 0x458af4
mov eax, dword [edi + 4]
test eax, eax
jle 0x458af4
cmp byte [edi + 8], 0
lea esi, [esp + 0x38]
je 0x458a60
mov ecx, esi
test ecx, 0xf
jne 0x458a0d
test ebx, 0xf
jne 0x458a0d
push ebx
mov edx, esi
push edx
push eax
mov eax, dword [edi]
push eax
call fcn.00487830
add esp, 0x10
jmp 0x458a83
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x60], edx
mov edx, ecx
push edx
push eax
mov eax, dword [edi]
push eax
call fcn.00487830
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
add esp, 0x10
mov dword [ebx + 0xc], ecx
jmp 0x458a83
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
lea eax, [esi + edx]
mov edx, dword [edi]
push eax
push esi
push ecx
push edx
call fcn.0047fb40
add esi, 0x10
lea eax, [esp + 0x58]
add esp, 0x10
cmp esi, eax
jb 0x458a60
mov eax, ebx
mov ecx, 4
lea ebx, [ebx]
mov edx, dword [esp + 0x1c]
mov edx, dword [eax + edx]
xor dword [eax], edx
add eax, 4
sub ecx, 1
jne 0x458a90
mov ebx, eax
mov eax, 0x10
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
add dword [esp + 0x14], eax
xor esi, esi
mov edx, dword [esp + ecx*4 + 0x20]
mov eax, edx
add edx, edx
or edx, esi
mov dword [esp + ecx*4 + 0x20], edx
shr eax, 0x1f
inc ecx
mov esi, eax
cmp ecx, 4
jb 0x458ab6
test eax, eax
je 0x458adb
xor dword [esp + 0x20], 0x87
mov eax, dword [esp + 0x48]
add eax, ebx
cmp eax, dword [esp + 0x4c]
jae 0x458777
mov edx, dword [esp + 0x14]
jmp 0x4589b5
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0049bf8d
mov esp, ebp
pop ebp
ret 0x14