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

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4238de
mov eax, dword [esp + 0x2000]
add esp, 0xfffffb2c
mov esi, eax
mov eax, 0xdd4
mov dword [esp], edx
call fcn.0040d8a4
push eax
call fcn.00426660
pop ecx
xor edx, edx
mov eax, esi
call fcn.00408ce8
test al, al
je 0x423946
cmp byte [esi + 0x65d3], 0
jne 0x423946
push 0
push 0
xor edx, edx
mov eax, esi
call fcn.00403504
mov eax, 0xdd6
call fcn.0040d8a4
push eax
call fcn.00426660
pop ecx
xor eax, eax
jmp 0x4242ed
lea eax, [esp + 0x78]
mov edx, esi
call fcn.00402d2c
mov edx, 0x43e00c
mov eax, esi
call fcn.00409218
test eax, eax
je 0x4239d7
lea eax, [esp + 0x88]
xor edx, edx
call fcn.0040d208
lea eax, [esp + 0x88]
mov ecx, dword [esi + 0x5818]
mov edx, dword [esi + 0x5814]
call fcn.0040d2bc
lea edx, [esp + 0x14]
lea eax, [esp + 0x88]
mov ecx, 8
call fcn.0040d39c
lea edx, [esp + 4]
lea eax, [esp + 0x88]
call fcn.0040d320
lea edx, [esp + 8]
lea eax, [esp + 0x88]
call fcn.0040d358
mov byte [esp + 0x10], 1
lea eax, [esp + 0x88]
mov edx, 2
call fcn.00402654
jmp 0x423cc5
mov eax, dword [esi + 0x65d8]
xor edx, edx
push edx
push eax
xor edx, edx
mov eax, esi
call fcn.00403504
mov edx, 0x78
mov eax, esi
call fcn.004091c8
test eax, eax
je 0x423a2f
mov cx, word [esi + 0x65de]
cmp cx, word [esi + 0x58fc]
jne 0x423a2f
movzx eax, word [esi + 0x590e]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x5910]
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0
jmp 0x423cc5
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esi + 0x65bc], 0
mov dword [esi + 0x65c0], 0
push dword [esp + 0x20]
push dword [esp + 0x20]
xor edx, edx
mov eax, esi
call fcn.00403504
lea edx, [esp + 0xa4]
mov ecx, 0x2000
mov eax, esi
call fcn.004033a0
mov ebp, eax
test ebp, ebp
je 0x423c7e
xor edi, edi
jmp 0x423c61
lea ebx, [esp + 0xa4]
add ebx, edi
cmp byte [ebx + 2], 0x7a
jne 0x423ba9
push 8
push str.Protect
lea eax, [ebx + 0x22]
push eax
call fcn.00435660
add esp, 0xc
test eax, eax
jne 0x423ba9
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx + 1]
mov dl, byte [ebx]
shl ecx, 8
add dx, cx
mov ecx, 0x34
not dx
and dx, 0xffff
or eax, 0xffffffff
mov word [esp + 0x24], dx
lea edx, [ebx + 2]
call fcn.0040b0a0
and eax, 0xffff
movzx edx, word [esp + 0x24]
cmp eax, edx
jne 0x423c60
xor ecx, ecx
xor eax, eax
mov cl, byte [ebx + 0x2b]
mov al, byte [ebx + 0x2a]
shl ecx, 8
xor edx, edx
add eax, ecx
mov dl, byte [ebx + 0x2c]
xor ecx, ecx
mov cl, byte [ebx + 0x2d]
shl edx, 0x10
shl ecx, 0x18
add eax, edx
add eax, ecx
xor edx, edx
mov dword [esp + 4], eax
xor eax, eax
mov dl, byte [ebx + 0x2f]
mov al, byte [ebx + 0x2e]
shl edx, 8
xor ecx, ecx
add eax, edx
mov cl, byte [ebx + 0x30]
xor edx, edx
mov dl, byte [ebx + 0x31]
shl ecx, 0x10
shl edx, 0x18
add eax, ecx
add eax, edx
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
xor edx, edx
xor eax, eax
mov dl, byte [ebx + 0x33]
mov al, byte [ebx + 0x32]
shl edx, 8
xor ecx, ecx
add eax, edx
mov cl, byte [ebx + 0x34]
xor edx, edx
mov dl, byte [ebx + 0x35]
shl ecx, 0x10
shl edx, 0x18
add eax, ecx
add eax, edx
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
xor eax, eax
add dword [esp + 8], eax
adc dword [esp + 0xc], edx
mov eax, edi
cdq
add eax, dword [esp + 0x1c]
adc edx, dword [esp + 0x20]
mov dword [esi + 0x65bc], eax
mov dword [esi + 0x65c0], edx
mov byte [esp + 0x10], 1
jmp 0x423c6c
cmp byte [ebx + 2], 0x78
jne 0x423c60
push 8
push str.Protect_
lea ecx, [ebx + 0x12]
push ecx
call fcn.00435660
add esp, 0xc
test eax, eax
jne 0x423c60
xor edx, edx
xor eax, eax
mov dl, byte [ebx + 1]
mov al, byte [ebx]
shl edx, 8
mov ecx, 0x18
add eax, edx
lea edx, [ebx + 2]
not eax
and eax, 0xffff
mov dword [esp + 0x30], eax
or eax, 0xffffffff
call fcn.0040b0a0
and eax, 0xffff
cmp eax, dword [esp + 0x30]
jne 0x423c60
xor edx, edx
xor eax, eax
mov dl, byte [ebx + 0xd]
mov al, byte [ebx + 0xc]
shl edx, 8
xor ecx, ecx
add eax, edx
xor edx, edx
mov dword [esp + 4], eax
xor eax, eax
mov dl, byte [ebx + 0xf]
mov al, byte [ebx + 0xe]
shl edx, 8
mov cl, byte [ebx + 0x10]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x11]
shl ecx, 0x10
shl edx, 0x18
add eax, ecx
add eax, edx
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, edi
cdq
add eax, dword [esp + 0x1c]
adc edx, dword [esp + 0x20]
mov dword [esi + 0x65bc], eax
mov dword [esi + 0x65c0], edx
mov byte [esp + 0x10], 0
jmp 0x423c6c
inc edi
lea ecx, [ebp - 0x32]
cmp edi, ecx
jl 0x423a88
add dword [esp + 0x1c], 0x1fce
adc dword [esp + 0x20], 0
jmp 0x423a53
cmp dword [esi + 0x65c0], 0
jne 0x423cc5
cmp dword [esi + 0x65bc], 0
jne 0x423cc5
push 0
push 0
xor edx, edx
mov eax, esi
call fcn.00403504
mov eax, 0xdd6
call fcn.0040d8a4
push eax
call fcn.00426660
pop ecx
xor eax, eax
push eax
lea eax, [esp + 0x7c]
mov edx, 2
call fcn.00402d50
pop eax
jmp 0x4242ed
mov eax, 0xdd8
call fcn.0040d8a4
push eax
call fcn.00426660
pop ecx
mov edx, dword [esi + 0x65bc]
mov dword [esp + 0x34], edx
xor eax, eax
mov edx, dword [esi + 0x65c0]
mov dword [esp + 0x38], edx
mov ecx, dword [esi + 0x65bc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x65c0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
cmp byte [esp + 0x10], 0
je 0x423d12
mov edx, 0x36
jmp 0x423d17
mov edx, 0x1a
mov dword [esp + 0x4c], edx
cmp byte [esi + 0x65d4], 0
je 0x423d35
mov eax, dword [esp + 0x4c]
not eax
inc eax
and eax, 0xf
add eax, 8
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
cdq
add eax, dword [esp + 0x3c]
adc edx, dword [esp + 0x40]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
lea eax, [esp + 0x22a4]
call fcn.0042579c
lea eax, [esp + 0x22b0]
call fcn.00401198
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
lea ecx, [esp + 0x22cc]
lea edx, [esp + 0x22c0]
mov eax, esi
call fcn.004242f8
mov edx, dword [esp + 4]
lea eax, [esp + 0x22bc]
shl edx, 9
call fcn.00403994
push dword [esp + 0x22c0]
push 0
push dword [esp + 0x22c4]
call fcn.004353e8
add esp, 0xc
xor edx, edx
mov eax, esi
push 0
push 0
call fcn.00403504
xor edx, edx
mov dword [esp + 0x58], edx
jmp 0x423e91
call fcn.0040ac6c
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x22a8]
jge 0x423e41
mov eax, esi
call fcn.004035bc
mov ecx, dword [esp + 0x22a4]
mov ebx, dword [esp + 0x58]
cmp edx, dword [ecx + ebx*8 + 4]
jne 0x423e07
cmp eax, dword [ecx + ebx*8]
jb 0x423e41
jmp 0x423e09
jl 0x423e41
mov eax, dword [esp + 0x22b0]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + edx*4]
cdq
push edx
push eax
mov edx, 1
mov eax, esi
call fcn.00403504
mov ecx, dword [esp + 0x22b0]
mov eax, dword [esp + 0x58]
mov eax, dword [ecx + eax*4]
cdq
sub dword [esp + 0x34], eax
sbb dword [esp + 0x38], edx
inc dword [esp + 0x58]
lea ecx, [esp + 0x34]
push ecx
push 1
lea edx, [esp + 0x20ac]
mov ecx, pe_nt_image_headers32
mov eax, esi
call fcn.00424809
mov edx, dword [esp + 0x44]
shl edx, 9
add edx, dword [esp + 0x22bc]
xor eax, eax
mov cl, byte [esp + eax + 0x20a4]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x200
jl 0x423e6b
inc dword [esp + 0x44]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 4]
jb 0x423e91
xor edx, edx
mov dword [esp + 0x44], edx
cmp dword [esp + 0x38], 0
jne 0x423ea5
cmp dword [esp + 0x34], 0
ja 0x423dd6
jmp 0x423eab
jg 0x423dd6
push 0
push 2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.0043826c
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
push edx
push eax
xor edx, edx
mov eax, esi
call fcn.00403504
xor ebx, ebx
jmp 0x423f07
lea edx, [esp + 0x20a4]
mov ecx, pe_nt_image_headers32
mov eax, esi
call fcn.004033a0
mov edx, ebx
shl edx, 9
add edx, dword [esp + 0x22bc]
xor eax, eax
mov cl, byte [esp + eax + 0x20a4]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x200
jl 0x423ef4
inc ebx
cmp ebx, dword [esp + 4]
jb 0x423ed3
push 0
push 0
xor edx, edx
mov eax, esi
call fcn.00403504
mov ecx, dword [esp + 0x50]
xor edx, edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x60], ecx
xor ecx, ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], edx
xor eax, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], eax
xor edx, edx
mov dword [esp + 0x58], edx
jmp 0x42424d
call fcn.0040ac6c
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esp + 0x22a8]
jge 0x423fc2
mov eax, esi
call fcn.004035bc
mov ecx, dword [esp + 0x22a4]
mov ebx, dword [esp + 0x58]
cmp edx, dword [ecx + ebx*8 + 4]
jne 0x423f88
cmp eax, dword [ecx + ebx*8]
jb 0x423fc2
jmp 0x423f8a
jl 0x423fc2
mov eax, dword [esp + 0x22b0]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + edx*4]
cdq
push edx
push eax
mov edx, 1
mov eax, esi
call fcn.00403504
mov ecx, dword [esp + 0x22b0]
mov eax, dword [esp + 0x58]
mov eax, dword [ecx + eax*4]
cdq
sub dword [esp + 0x34], eax
sbb dword [esp + 0x38], edx
inc dword [esp + 0x58]
lea ecx, [esp + 0x34]
push ecx
push 1
lea edx, [esp + 0x20ac]
mov ecx, pe_nt_image_headers32
mov eax, esi
call fcn.00424809
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x20a4]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp]
call fcn.00403218
lea edx, [esp + 0x20a4]
mov ecx, pe_nt_image_headers32
or eax, 0xffffffff
call fcn.0040b0a0
mov ebx, eax
and ebx, 0xffff
lea eax, [esp + 0x22c8]
mov edx, esi
call fcn.00402d2c
push dword [esp + 0x60]
push dword [esp + 0x60]
xor edx, edx
mov eax, esi
call fcn.00403504
mov eax, esi
call fcn.00403658
mov edi, eax
mov eax, esi
and edi, 0xff
call fcn.00403658
xor edx, edx
mov dl, al
lea eax, [esp + 0x22c8]
shl edx, 8
add edi, edx
mov edx, 2
mov dword [esp + 0x70], edi
add dword [esp + 0x5c], 2
adc dword [esp + 0x60], 0
call fcn.00402d50
cmp ebx, dword [esp + 0x70]
je 0x424235
mov ecx, dword [esp + 0x64]
inc ecx
shl ecx, 9
push ecx
mov eax, dword [esp + 0x68]
shl eax, 9
push eax
push dword [esp + 0x6c]
mov eax, 0xdda
call fcn.0040d8a4
push eax
call fcn.00426660
add esp, 0x10
push pe_nt_image_headers32
lea edx, [esp + 0x20a8]
push edx
lea ecx, [esp + 0x22e0]
push ecx
call fcn.00435378
add esp, 0xc
mov ebp, dword [esp + 0x44]
shl ebp, 9
add ebp, dword [esp + 0x22bc]
mov byte [esp + 0x74], 0
xor eax, eax
mov dl, byte [ebp + eax]
xor byte [esp + eax + 0x20a4], dl
inc eax
cmp eax, 0x200
jl 0x4240d0
lea edx, [esp + 0x20a4]
mov ecx, pe_nt_image_headers32
or eax, 0xffffffff
call fcn.0040b0a0
mov ebx, eax
and ebx, 0xffff
cmp ebx, dword [esp + 0x70]
jne 0x42410f
mov byte [esp + 0x74], 1
jmp 0x4241cd
push pe_nt_image_headers32
lea eax, [esp + 0x22dc]
push eax
lea edx, [esp + 0x20ac]
push edx
call fcn.00435378
add esp, 0xc
xor edi, edi
mov al, byte [ebp + edi]
lea edx, [esp + 0x20a4]
xor byte [esp + edi + 0x20a4], al
or eax, 0xffffffff
mov ecx, pe_nt_image_headers32
call fcn.0040b0a0
mov ebx, eax
and ebx, 0xffff
cmp ebx, dword [esp + 0x70]
jne 0x424162
mov byte [esp + 0x74], 1
jmp 0x42416b
inc edi
cmp edi, 0x200
jl 0x42412e
cmp byte [esp + 0x74], 0
jne 0x4241cd
push pe_nt_image_headers32
lea eax, [esp + 0x22dc]
push eax
lea edx, [esp + 0x20ac]
push edx
call fcn.00435378
add esp, 0xc
mov edi, 0x1ff
mov al, byte [ebp + edi]
lea edx, [esp + 0x20a4]
xor byte [esp + edi + 0x20a4], al
or eax, 0xffffffff
mov ecx, pe_nt_image_headers32
call fcn.0040b0a0
mov ebx, eax
and ebx, 0xffff
cmp ebx, dword [esp + 0x70]
jne 0x4241c8
mov byte [esp + 0x74], 1
jmp 0x4241cd
dec edi
test edi, edi
jge 0x424194
cmp byte [esp + 0x74], 0
je 0x424220
mov eax, dword [esp]
call fcn.004035bc
push edx
push eax
mov eax, dword [esp + 0x74]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
xor edx, edx
mov eax, dword [esp + 8]
call fcn.00403504
lea edx, [esp + 0x20a4]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp]
call fcn.00403218
mov eax, 0xddc
call fcn.0040d8a4
push eax
call fcn.00426660
pop ecx
jmp 0x424235
mov eax, 0xdde
call fcn.0040d8a4
push eax
call fcn.00426660
pop ecx
inc dword [esp + 0x68]
inc dword [esp + 0x64]
inc dword [esp + 0x44]
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 4]
jb 0x42424d
xor ecx, ecx
mov dword [esp + 0x44], ecx
cmp dword [esp + 0x38], 0
jne 0x424261
cmp dword [esp + 0x34], 0
ja 0x423f57
jmp 0x424267
jg 0x423f57
push dword [esp + 0x40]
push dword [esp + 0x40]
xor edx, edx
mov eax, esi
call fcn.00403504
push 0x80000000
push 0
mov edx, dword [esp + 8]
mov eax, esi
call fcn.004038e0
push 0
push 0
xor edx, edx
mov eax, esi
call fcn.00403504
cmp dword [esp + 0x68], 0
je 0x4242a5
mov eax, 1
jmp 0x4242aa
mov eax, 2
push eax
lea eax, [esp + 0x22c0]
mov edx, 2
call fcn.00401244
lea eax, [esp + 0x22b4]
mov edx, 2
call fcn.004011ec
lea eax, [esp + 0x22a8]
mov edx, 2
call fcn.004257ac
lea eax, [esp + 0x7c]
mov edx, 2
call fcn.00402d50
pop eax
add esp, 0x24d8
pop ebp
pop edi
pop esi
pop ebx
ret