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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4623ba
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
test eax, eax
je 0x4623a8
mov edx, dword [eax]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x38], edx
mov dword [edi + 4], edx
mov dword [eax], 0
test edx, edx
jne 0x4622f5
jmp 0x462502
mov eax, dword [edx + 8]
mov dword [eax], 0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4622e3
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dword [esp + 0x78]
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test eax, eax
je 0x462502
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x10]
test eax, 0x40000
jne 0x4622c0
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov esi, dword [edx + 0x30]
add edi, 0x14
mov ecx, dword [edx + 0x44]
add esi, edi
test eax, 0x40000000
jne 0x4623c7
mov ebp, dword [esp + 0x3c]
cmp edi, esi
jb 0x462342
jmp 0x4622e3
add edi, dword [ebp + 0x80]
cmp edi, esi
jae 0x4622e3
mov eax, dword [esp + 0x74]
mov ecx, 1
mov edx, edi
mov ebx, dword [eax + 8]
mov dword [esp], 1
mov eax, ebx
call fcn.00461e00
test eax, eax
je 0x46238e
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x462338
mov edx, dword [esp + 0x38]
add dword [ebx + 0x10], 1
adc dword [ebx + 0x14], 0
mov dword [eax + 0x20], edx
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x462885
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + 0x24], eax
mov dword [ebx + 0x1c], eax
jmp 0x462338
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
test eax, eax
je 0x4623a8
mov edx, dword [eax + 8]
mov dword [edx], 0
mov eax, dword [eax]
test eax, eax
jne 0x462399
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x74], eax
test eax, eax
jne 0x462293
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edi, esi
jae 0x4622e3
mov eax, 1
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x44], edi
shld edx, eax, cl
shl eax, cl
test cl, 0x20
mov dword [esp + 0x30], esi
cmovne edx, eax
cmovne eax, ebp
mov ecx, eax
mov ebx, edx
mov dword [esp + 0x48], eax
add ecx, 0xffffffff
mov dword [esp + 0x4c], edx
mov dword [esp + 0x28], ecx
adc ebx, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebx
mov ebx, edi
mov eax, dword [esp + 0x44]
mov esi, ebx
mov ecx, dword [esp + 0x28]
sub esi, eax
mov eax, esi
cdq
add esi, 0xffffffff
mov edi, edx
adc edi, 0xffffffff
xor eax, esi
xor edx, edi
add eax, 1
adc edx, 0
shrd eax, edx, 1
shr edx, 1
mov esi, eax
mov edi, edx
add esi, 0xffffffff
adc edi, 0xffffffff
cmp esi, ecx
sbb edi, dword [esp + 0x2c]
jb 0x46244d
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x74]
mov ecx, eax
mov edx, ebx
mov esi, dword [esi + 8]
mov dword [esp], 1
mov eax, esi
call fcn.00461e00
test eax, eax
je 0x46238e
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4627f8
mov edx, dword [esp + 0x3c]
add ebx, dword [eax + 0xc]
mov ecx, dword [edx + 0x80]
cmp ecx, 1
je 0x462790
mov eax, dword [esp + 0x30]
cmp ebx, eax
jae 0x4622e3
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
lea esi, cs:[esi]
xor eax, eax
test ecx, ecx
jne 0x4624b7
jmp 0x4624c5
add eax, 1
cmp eax, ecx
je 0x4624c5
cmp byte [ebx + eax], 0
je 0x4624b0
cmp eax, ecx
jne 0x462771
test ebp, ebp
jne 0x4624ea
mov eax, ebx
sub eax, esi
cdq
and edx, dword [esp + 0x2c]
and eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
or eax, edx
je 0x4626f8
add ebx, ecx
cmp ebx, edi
jb 0x4624a8
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4622f5
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4623a8
mov ebx, dword [edx + 0x24]
test ebx, ebx
je 0x462955
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
shld edx, eax, 2
shl eax, 2
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00403e60
mov ebx, eax
test eax, eax
je 0x4628b7
mov eax, dword [esp + 0x74]
mov esi, dword [eax + 8]
mov edx, dword [esi + 0x18]
test edx, edx
je 0x462afd
mov eax, ebx
mov ebp, dword [edx + 0x10]
test ebp, ebp
je 0x462562
mov dword [eax], edx
add eax, 4
mov edx, dword [edx + 0x24]
test edx, edx
jne 0x462556
sub eax, ebx
mov ecx, eax
sar ecx, 2
mov eax, ecx
cdq
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0x461db0
mov dword [esp + 8], 4
mov dword [esp], ebx
call sub.msvcrt.dll_qsort
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], sub.msvcrt.dll_free
mov dword [esp + 0x10], sub.msvcrt.dll_calloc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x461d00
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
shl eax, 2
mov dword [esp], eax
call fcn.00472970
mov dword [esp + 0x14], sub.msvcrt.dll_free
mov dword [esp + 0x30], eax
mov edi, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], sub.msvcrt.dll_calloc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x461c30
mov dword [esp + 4], 0
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
shl eax, 2
mov dword [esp], eax
call fcn.00472970
mov ebp, eax
test eax, eax
je 0x462ae0
test edi, edi
je 0x462ae0
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x10]
lea edx, [ebx + edx*4]
mov dword [esp + 0x38], edx
cmp ebx, edx
jae 0x46289b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
mov ebx, dword [edx]
mov edi, dword [ebx + 0xc]
mov dword [ebx + 0x18], eax
cmp eax, edi
jae 0x462897
lea edx, [eax*4]
mov ecx, dword [ebx + 4]
cmp edx, edi
jae 0x462a86
test edx, edx
je 0x46269a
sub edi, eax
add ecx, edi
mov esi, ecx
sub esi, edx
xor edx, edx
movzx edi, byte [ecx - 1]
sub ecx, 1
mov eax, edi
shl eax, 0x11
add eax, edi
add eax, edx
mov edx, eax
shr edx, 2
xor edx, eax
cmp ecx, esi
jne 0x46267f
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00472d20
test eax, eax
je 0x462897
mov edx, dword [eax]
test edx, edx
je 0x462a7b
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x10], 0
add dword [esp + 0x28], 4
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
cmp eax, edx
jae 0x462897
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 8]
jmp 0x462648
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
mov edx, ebx
mov ebp, dword [eax + 8]
mov dword [esp], 1
mov eax, ebp
call fcn.00461e00
test eax, eax
je 0x46238e
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4627d0
mov eax, dword [esp + 0x3c]
mov ebp, 1
mov ecx, dword [eax + 0x80]
jmp 0x4624ea
mov ecx, dword [esp + 0x44]
nop
mov eax, ebx
sub eax, ecx
cdq
and edx, dword [esp + 0x2c]
and eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
or eax, edx
je 0x46281c
add ebx, 1
cmp edi, ebx
je 0x4622e3
cmp byte [ebx], 0
je 0x462740
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x30]
cmp ebx, eax
jb 0x462410
jmp 0x4622e3
mov edi, dword [esp + 0x30]
cmp ebx, edi
jae 0x4622e3
cmp byte [ebx], 0
jne 0x462410
mov edi, dword [esp + 0x30]
test ebp, ebp
je 0x46273a
add ebx, 1
cmp edi, ebx
je 0x4622e3
cmp byte [ebx], 0
je 0x4627ad
mov dword [esp + 0x30], edi
mov ebp, 1
jmp 0x462775
mov edx, dword [esp + 0x38]
add dword [ebp + 0x10], 1
adc dword [ebp + 0x14], 0
mov dword [eax + 0x20], edx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x46287d
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], eax
mov dword [ebp + 0x1c], eax
jmp 0x462726
mov edx, dword [esp + 0x38]
add dword [esi + 0x10], 1
adc dword [esi + 0x14], 0
mov dword [eax + 0x20], edx
mov edx, dword [esi + 0x18]
test edx, edx
je 0x46288d
mov edx, dword [esi + 0x1c]
mov dword [edx + 0x24], eax
mov dword [esi + 0x1c], eax
jmp 0x462479
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
mov edx, 0x493af4
mov dword [esp + 0x30], edi
mov esi, dword [eax + 8]
mov dword [esp], 1
mov eax, esi
call fcn.00461e00
test eax, eax
je 0x46238e
mov ebp, dword [eax + 0x20]
mov edi, dword [esp + 0x30]
test ebp, ebp
jne 0x4627ad
mov edx, dword [esp + 0x38]
mov edi, dword [esi + 0x18]
add dword [esi + 0x10], 1
adc dword [esi + 0x14], 0
mov dword [eax + 0x20], edx
test edi, edi
je 0x462892
mov edx, dword [esi + 0x1c]
mov dword [edx + 0x24], eax
mov dword [esi + 0x1c], eax
mov edi, dword [esp + 0x30]
jmp 0x4627ad
mov dword [ebp + 0x18], eax
jmp 0x4627f0
mov dword [ebx + 0x18], eax
jmp 0x462389
mov dword [esi + 0x18], eax
jmp 0x462814
mov dword [esi + 0x18], eax
jmp 0x462871
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov dword [esp], ebp
call fcn.00472b50
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00472b50
mov eax, dword [esp + 0x74]
xor esi, esi
xor edi, edi
mov dword [esp + 0x28], esi
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edi
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0x20]
mov ebp, ecx
mov ecx, eax
jmp 0x46291d
xor edx, edx
mov esi, eax
mov edi, edx
add esi, 0xffffffff
adc edi, 0xffffffff
add esi, dword [esp + 0x28]
adc edi, dword [esp + 0x2c]
neg eax
adc edx, 0
and esi, eax
neg edx
mov dword [ebp + 0x18], esi
and edi, edx
add esi, dword [ebp + 0xc]
mov dword [ebp + 0x1c], edi
adc edi, 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov ebp, dword [ebp + 0x24]
test ebp, ebp
je 0x4629c4
mov eax, ecx
mov ecx, dword [ebp + 0x20]
cmp eax, ecx
je 0x462932
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46290d
mov esi, dword [ecx + 0x10]
test esi, esi
jne 0x4628da
mov dword [ecx + 0x10], ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
jmp 0x4628da
xor edx, edx
xor esi, esi
xor edi, edi
mov ebp, eax
mov dword [esp + 0x28], edx
jmp 0x462998
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov edx, ebx
mov eax, ecx
add eax, 0xffffffff
adc edx, 0xffffffff
add esi, eax
adc edi, edx
neg ecx
adc ebx, 0
and esi, ecx
neg ebx
mov dword [ebp + 0x18], esi
and edi, ebx
add esi, dword [ebp + 0xc]
mov dword [ebp + 0x1c], edi
mov ebp, dword [ebp + 0x24]
adc edi, 0
test ebp, ebp
je 0x462a6c
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x28], edx
test ecx, ecx
jne 0x462963
test eax, eax
je 0x4629b7
mov eax, dword [eax + 4]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edi
mov eax, dword [esp + 0x28]
xor esi, esi
xor edi, edi
mov dword [eax + 0x10], ebp
jmp 0x462963
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
mov edi, dword [esp + 0x2c]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x28], esi
lea esi, [edx + 0x18]
mov dword [ecx + 0x2c], edi
test eax, eax
jne 0x4629f2
jmp 0x462a31
lea esi, [eax + 0x24]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x462a31
mov ebx, dword [eax + 0x10]
test ebx, ebx
jne 0x4629e8
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0xc]
mov dword [esi], edx
test ebx, ebx
je 0x4629eb
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0xc]
sub edx, ebx
mov ebx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
add ecx, edx
adc ebx, 0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4629f2
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
test eax, eax
jne 0x462a52
jmp 0x4623a8
mov eax, dword [eax]
test eax, eax
je 0x4623a8
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x462a48
mov edx, dword [eax + 4]
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
jmp 0x462a48
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edi
jmp 0x462a31
mov dword [eax], ebx
mov edi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
sub edi, eax
add ecx, edi
test eax, eax
je 0x462aaf
mov edi, ecx
sub edi, eax
xor eax, eax
movzx esi, byte [ecx - 1]
sub ecx, 1
mov edx, esi
shl edx, 0x11
add edx, esi
add eax, edx
mov edx, eax
shr edx, 2
xor eax, edx
cmp ecx, edi
jne 0x462a94
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.00472d20
test eax, eax
je 0x462897
mov edx, dword [eax]
test edx, edx
jne 0x4626c8
mov dword [eax], ebx
jmp 0x4626d2
mov dword [esp], ebx
call sub.msvcrt.dll_free
test ebp, ebp
jne 0x462b08
mov edi, dword [esp + 0x30]
test edi, edi
je 0x4628b7
jmp 0x4628ab
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x462573
mov dword [esp], ebp
call fcn.00472b50
jmp 0x462aec