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

Disassembly:
sub esp, 0x614
mov eax, dword [0x589758]
xor eax, esp
mov dword [esp + 0x610], eax
mov eax, dword [esp + 0x624]
mov ecx, dword [esp + 0x628]
push ebx
mov ebx, dword [esp + 0x630]
push ebp
mov dword [esp + 0x44], eax
mov eax, ebx
push esi
mov esi, dword [esp + 0x628]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425434
sub eax, edx
xor ebp, ebp
push 0x24a
mov dword [esp + 0x40], eax
xor eax, eax
lea edx, [esp + 0x54]
push ebp
push edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], ebp
call fcn.004f67e0
push 0x3f
lea eax, [esp + 0x2ad]
push ebp
push eax
mov byte [esp + 0x2b4], 0
call fcn.004f67e0
push 0xff
lea ecx, [esp + 0x339]
push ebp
push ecx
mov byte [esp + 0x340], 0
call fcn.004f67e0
push 0x3f
lea edx, [esp + 0x305]
push ebp
push edx
mov byte [esp + 0x30c], 0
call fcn.004f67e0
push 0x1ff
lea eax, [esp + 0x451]
push ebp
push eax
mov byte [esp + 0x458], 0
call fcn.004f67e0
add esp, 0x3c
mov dword [esp + 0x28], ebp
cmp dword [0x7c5084], ebp
je 0x425b15
cmp dword [0x7c5088], ebp
je 0x425b15
cmp dword [0x7c505c], ebp
je 0x425b15
cmp dword [0x7c5060], ebp
je 0x425b15
cmp dword [0x7c50d0], ebp
je 0x425b15
cmp dword [0x7c50d4], ebp
je 0x425b15
cmp dword [0x7c50d8], ebp
je 0x425b15
cmp dword [0x7c50dc], ebp
je 0x425b15
cmp dword [0x7c506c], ebp
je 0x425b15
cmp dword [0x7c5070], ebp
je 0x425b15
push edi
push ebp
call fcn.004f8ccc
push eax
call fcn.004f75db
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x1c]
lea edx, [esp + 0x38]
lea edi, [esi + 0x3c]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], 6
call dword [0x7c50dc]
mov ecx, dword [esi + 4]
add esp, 0xc
cmp ecx, dword [esp + 0x30]
je 0x4255aa
push str.pdata__hash_crc32___hash_crc32_n
call fcn.004f8d2f
add esp, 4
jmp 0x425ad6
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4255b0
sub eax, edx
lea edx, [esp + 0x2c]
push edx
push eax
push ebx
lea eax, [esp + 0x42c]
push eax
lea ecx, [esi + 0x18]
push ecx
call dword [0x7c50e0]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x434]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x44]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 5
call dword [0x7c50dc]
mov eax, dword [esi + 0x14]
add esp, 0x18
cmp eax, dword [esp + 0x30]
je 0x42561e
push str.pdata__crc_passw___hash_crc32_n
call fcn.004f8d2f
add esp, 4
jmp 0x425ad6
xor ecx, ecx
cmp dword [esi + 0x10], ebp
jle 0x425647
mov ebp, dword [esp + 0x2c]
lea esp, [esp]
xor edx, edx
mov eax, ecx
div ebp
inc ecx
mov dl, byte [esp + edx + 0x420]
xor byte [edi + ecx - 1], dl
cmp ecx, dword [esi + 0x10]
jl 0x425630
push 0x100000
call fcn.004f803c
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x425adb
push 0x100000
push 0
push ebp
call fcn.004f67e0
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
push 0x422d20
push eax
push edi
lea ecx, [esp + 0x5c]
push ecx
push ebp
push edx
call dword [0x7c5088]
add esp, 0x24
cmp eax, 1
je 0x4256ae
mov eax, dword [esi + 8]
push eax
push str._d_uncompress_1_n
call fcn.004f8d2f
call fcn.004f8d2a
push ebp
call fcn.004f7ee5
add esp, 0xc
jmp 0x425adb
push 0x100000
call fcn.004f803c
mov edi, eax
add esp, 4
test edi, edi
jne 0x4256cf
push ebp
call fcn.004f7ee5
add esp, 4
jmp 0x425adb
push 0x100000
push 0
push edi
call fcn.004f67e0
push ebx
push 0x100000
push edi
push ebp
call dword [0x7c50d8]
push ebp
mov esi, eax
call fcn.004f7ee5
add esp, 0x20
test esi, esi
jne 0x425716
push str.out_size__0_n
call fcn.004f8d2f
call fcn.004f8d2a
push edi
call fcn.004f7ee5
add esp, 8
jmp 0x425adb
push 0x100000
call fcn.004f803c
mov esi, eax
add esp, 4
test esi, esi
jne 0x425737
push edi
call fcn.004f7ee5
add esp, 4
jmp 0x425adb
push 0x100000
push 0
push esi
call fcn.004f67e0
mov eax, edi
add esp, 0xc
mov dword [esp + 0x28], 0x100000
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425754
lea ecx, [esp + 0x28]
push ecx
sub eax, edx
push esi
push eax
push edi
call fcn.00425110
push edi
call fcn.004f7ee5
lea eax, [esp + 0x334]
add esp, 0x14
dec eax
lea edi, [esi + 0x74]
mov dword [esp + 0x10], 9
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edi
jmp 0x425794
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x2a0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi - 8]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ecx
call dword [0x7c50dc]
mov ebx, dword [esp + 0x28]
add esp, 4
xor eax, eax
mov dword [esp + 0x34], eax
lea ebp, [eax + 3]
lea edi, [eax + 2]
lea ecx, [eax + 1]
xor edx, edx
div ebx
mov eax, dword [esp + 0x34]
and eax, 0x3f
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [eax + esi + 0x8c]
mov eax, dword [esp + 0x28]
mov byte [eax + ecx], dl
xor edx, edx
mov eax, ecx
div ebx
mov eax, ecx
and eax, 0x3f
add ecx, 4
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [eax + esi + 0x8c]
mov eax, edi
mov byte [esp + ecx + 0x31c], dl
xor edx, edx
div ebx
mov eax, edi
and eax, 0x3f
add edi, 4
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [eax + esi + 0x8c]
mov eax, ebp
mov byte [esp + edi + 0x31c], dl
xor edx, edx
div ebx
mov eax, ebp
and eax, 0x3f
add ebp, 4
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [eax + esi + 0x8c]
mov eax, dword [esp + 0x34]
mov byte [esp + ebp + 0x31c], dl
add eax, 4
cmp ecx, 0x101
mov dword [esp + 0x34], eax
jl 0x4257d3
mov edi, dword [esp + 0x38]
mov dword [esp + 0x54], 1
mov eax, dword [edi - 4]
lea ecx, [esp + 0x50]
xor ebp, ebp
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
call dword [0x7c50d0]
mov bl, byte [esp + 0x172]
mov ecx, dword [esp + 0x29e]
movzx eax, bl
add esp, 4
cmp eax, ecx
jge 0x4258b9
mov eax, ecx
cmp eax, 0x100
jg 0x425af6
mov dword [esp + 0x29a], eax
mov edx, dword [edi]
lea eax, [esi + 0xcc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov al, byte [esp + 0x291]
mov dword [esp + 0x296], edx
mov byte [esp + 0x65], al
mov dword [esp + 0x54], ebp
mov eax, dword [esi + 0x78]
xor edx, edx
div ecx
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x68], bl
imul eax, ecx
lea ecx, [esp + 0x324]
mov dword [esp + 0x6a], eax
mov dword [esp + 0x64], ecx
call dword [0x7c50d0]
mov eax, dword [esp + 0x14]
dec eax
sub edi, 0xc
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edi
jge 0x425790
mov eax, dword [esi + 0x88]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x2e0]
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
call dword [0x7c50dc]
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0xcc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
lea edx, [esp + 0x2a4]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
call dword [0x7c50dc]
push pe_nt_image_headers32
lea ecx, [esp + 0x32c]
push 0
push ecx
call fcn.004f67e0
mov ebp, dword [esp + 0x38]
add esp, 0x14
xor eax, eax
mov dword [esp + 0x10], eax
lea ebx, [eax + 3]
lea edi, [eax + 2]
lea ecx, [eax + 1]
nop
xor edx, edx
div ebp
mov eax, dword [esp + 0x10]
and eax, 0x3f
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [esp + eax + 0x2e0]
mov eax, dword [esp + 0x28]
mov byte [ecx + eax], dl
xor edx, edx
mov eax, ecx
div ebp
mov eax, ecx
and eax, 0x3f
add ecx, 4
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [esp + eax + 0x2e0]
mov eax, edi
mov byte [esp + ecx + 0x31c], dl
xor edx, edx
div ebp
mov eax, edi
and eax, 0x3f
add edi, 4
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [esp + eax + 0x2e0]
mov eax, ebx
mov byte [esp + edi + 0x31c], dl
xor edx, edx
div ebp
mov eax, ebx
and eax, 0x3f
add ebx, 4
movzx edx, byte [esp + edx + 0x2a0]
xor dl, byte [esp + eax + 0x2e0]
mov eax, dword [esp + 0x10]
mov byte [esp + ebx + 0x31c], dl
add eax, 4
cmp ecx, 0x41
mov dword [esp + 0x10], eax
jl 0x4259c0
lea eax, [esi + 0x8c]
lea edx, [esp + 0x320]
mov ecx, 0x40
sub edx, eax
mov edi, dword [eax + edx]
cmp edi, dword [eax]
jne 0x425b01
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x425a75
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push 0x422d20
push eax
lea eax, [esi + 0xcc]
push eax
mov eax, dword [esi + 0x80]
push ecx
push edx
push eax
call dword [0x7c5088]
push esi
mov edi, eax
call fcn.004f7ee5
add esp, 0x1c
cmp edi, 1
je 0x425b0e
mov ecx, dword [esi + 0x80]
push ecx
push str._d_uncompress_1_n
call fcn.004f8d2f
add esp, 8
call fcn.004f8d2a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.004f6592
add esp, 0x614
ret
push esi
call fcn.004f7ee5
add esp, 4
jmp 0x425adb
push esi
call fcn.004f7ee5
push str.enc_keys_puk__crcvalue_VAL_HASH_MAXSIZE_n
jmp 0x425ace
mov eax, 1
jmp 0x425add
mov ecx, dword [esp + 0x61c]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004f6592
add esp, 0x614
ret