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

Disassembly:
mov eax, dword [0x78c3e8]
sub esp, 0x2cc
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x46ab57
mov eax, dword [esp + 0x2f4]
test eax, eax
je 0x46ab57
test byte [esp + 0x314], 1
je 0x46ab57
mov eax, dword [esp + 0x30c]
mov edx, dword [esp + 0x310]
mov ebp, dword [esp + 0x308]
mov ecx, eax
shr eax, 0x10
shl edx, 0x10
shr ebp, 0x10
shl ecx, 0x10
or eax, edx
or ebp, ecx
xor esi, esi
mov ebx, eax
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 7
mov dword [esp + 0x2c], 9
mov dword [esp + 0x30], 0x17
mov dword [esp + 0x34], 0x1f
mov dword [esp + 0x38], 0x21
mov dword [esp + 0x3c], 0x2a
mov dword [esp + 0x40], 0x38
mov dword [esp + 0x44], 0x39
mov dword [esp + 0x48], 0x3e
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], 0xb
mov dword [esp + 0x18], 0x11
mov dword [esp + 0x1c], 0x29
mov dword [esp + 0x20], 0xe3
xor edx, edx
lea edi, [esp + 0x24]
mov ecx, dword [edi]
cmp ecx, 0xffffffff
je 0x46a927
cmp ecx, 0x20
jge 0x46a90d
mov eax, ebp
jmp 0x46a912
mov eax, ebx
sub ecx, 0x20
shr eax, cl
lea ecx, [esi + esi]
add edi, 4
and eax, 1
or eax, ecx
inc edx
cmp edx, 0xa
mov esi, eax
jl 0x46a8fd
xor ebp, ebp
lea edi, [esp + 0x10]
mov ecx, dword [edi]
cmp ecx, 0xffffffff
je 0x46ab57
mov eax, esi
xor edx, edx
div ecx
imul eax, ecx
cmp eax, esi
je 0x46a953
inc ebp
add edi, 4
cmp ebp, 5
jl 0x46a92d
jmp 0x46ab57
cmp byte [esp + 0x314], 0x79
jne 0x46ab57
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0xdc]
mov dword [0x78c3e8], 1
mov dword [esp + 0x4c], 0xb18a3d6e
mov dword [esp + 0x50], 0xf49d3b4f
mov dword [esp + 0x54], 0xe59c3c5d
mov dword [esp + 0x58], 0xf58a275f
mov dword [esp + 0x5c], 0xe38a231a
mov dword [esp + 0x60], 0xff803c49
mov dword [esp + 0x64], 0xff8e361a
mov dword [esp + 0x68], 0xfd813a1a
mov dword [esp + 0x6c], 0xe38c7543
mov dword [esp + 0x70], 0xf49b345f
mov dword [esp + 0x74], 0xb19d3a1a
mov dword [esp + 0x78], 0xe586315f
mov dword [esp + 0x7c], 0xf487211a
mov dword [esp + 0x80], 0xfd86331a
mov dword [esp + 0x84], 0xf998755f
mov dword [esp + 0x88], 0xb1873653
mov dword [esp + 0x8c], 0xe28a3a5e
mov dword [esp + 0x90], 0xe5803b1a
mov dword [esp + 0x94], 0xf297301a
mov dword [esp + 0x98], 0xb18b305f
mov dword [esp + 0x9c], 0xb18a3d4e
mov dword [esp + 0xa0], 0xf4953c49
mov dword [esp + 0xa4], 0xb1893a1a
mov dword [esp + 0xa8], 0xdcdf6509
mov dword [esp + 0xac], 0xfebb7514
mov dword [esp + 0xb0], 0xfc8a271a
mov dword [esp + 0xb4], 0xb18a2355
mov dword [esp + 0xb8], 0xe2863d4e
mov dword [esp + 0xbc], 0xfc86391a
mov dword [esp + 0xc0], 0xe58e2153
mov dword [esp + 0xc4], 0xbd813a53
mov dword [esp + 0xc8], 0xf483251a
mov dword [esp + 0xcc], 0xb18a265b
mov dword [esp + 0xd0], 0xf8883048
mov dword [esp + 0xd4], 0xe38a2149
mov dword [esp + 0xd8], 0x91ef5514
rep stosd dword es:[edi], eax
mov edx, dword [esp + eax + 0x4c]
add eax, 4
xor edx, 0x91ef553a
cmp eax, 0x90
mov dword [esp + eax + 0xd8], edx
jl 0x46aae0
mov eax, dword [0x748004]
push 0x40000
push 0
push eax
lea ecx, [esp + 0xe8]
push 0xffffffffffffffff
push ecx
call fcn.0042b5a0
mov eax, dword [0x78ca5c]
add esp, 0x14
test eax, eax
jne 0x46ab34
mov edx, dword [0x748004]
push 0x10
push edx
call fcn.004f3450
add esp, 8
push 0
push 0
push 0x671120
call fcn.004f6430
or eax, 0x80000000
push 0
push eax
push 0x671120
call fcn.004f6640
add esp, 0x18
mov edi, dword [esp + 0x2e8]
mov ebx, dword [esp + 0x2e4]
mov ebp, dword [sym.imp.GDI32.dll_CreateBitmap]
push 0
push 0x20
push 1
push edi
push ebx
call ebp
mov esi, dword [esp + 0x2f0]
push eax
mov ecx, esi
call fcn.005622b5
test eax, eax
je 0x46abb9
mov ecx, dword [esp + 0x2e0]
mov eax, dword [esi + 4]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x46abb9
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
mov dword [ecx], 0x20
pop ebx
add esp, 0x2cc
ret
mov ecx, esi
call fcn.0056230c
push 0
push 0x18
push 1
push edi
push ebx
call ebp
push eax
mov ecx, esi
call fcn.005622b5
test eax, eax
je 0x46ac07
mov eax, dword [esp + 0x2e0]
mov edx, dword [esi + 4]
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x46ac07
mov edx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
mov dword [edx], 0x18
pop ebx
add esp, 0x2cc
ret
mov ecx, esi
call fcn.0056230c
push 0
push 0x10
push 1
push edi
push ebx
call ebp
push eax
mov ecx, esi
call fcn.005622b5
test eax, eax
je 0x46ac55
mov ecx, dword [esp + 0x2e0]
mov eax, dword [esi + 4]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x46ac55
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
mov dword [ecx], 0x10
pop ebx
add esp, 0x2cc
ret
mov ecx, esi
call fcn.0056230c
push 0
push 8
push 1
push edi
push ebx
call ebp
push eax
mov ecx, esi
call fcn.005622b5
test eax, eax
je 0x46aca3
mov eax, dword [esp + 0x2e0]
mov edx, dword [esi + 4]
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x46aca3
mov edx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
mov dword [edx], 8
pop ebx
add esp, 0x2cc
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2cc
ret