Function at 0x100239f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x20
call fcn.100bf140
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push esi
push edi
je 0x10023cd1
movzx ebx, byte [eax]
lea edi, [eax + 1]
mov edx, edi
mov dword [esp + 0x18], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ebp, byte [edx + 3]
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 6]
shl eax, 0x10
or ebx, eax
shl ecx, 8
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ebp, eax
movzx eax, byte [edx + 5]
or ecx, eax
mov eax, dword [esp + 0x50]
lea edx, [eax + 1]
shl ecx, 0x10
movzx esi, byte [edx + 3]
or ebp, ecx
mov dword [esp + 0x54], ebp
movzx ecx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
shl eax, 8
mov dword [esp + 0x14], ecx
or esi, eax
movzx ecx, byte [edx + 6]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x3c]
shl ecx, 0x10
add eax, 0xfffffff8
or esi, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], esi
cmp eax, 0xfffffff9
jl 0x10023c52
mov edi, dword [esp + 0x38]
add eax, 7
mov esi, dword [esp + 0x34]
mov dword [esp + 0x54], eax
push 1
push dword [esp + 0x4c]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
push eax
mov dword [esp + 0x38], ebp
call sym.LIBEAY32.dll_DES_encrypt1
mov eax, dword [esp + 0x48]
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
test eax, eax
jns 0x10023b54
add eax, 8
xor ecx, ecx
add esi, eax
xor edx, edx
mov eax, dword [esp + 0x54]
cmp eax, 7
ja case.default.0x10023b05
jmp dword [eax*4 + 0x10023f9c]
movzx ecx, byte [esi - 1]
dec esi
shl ecx, 0x18
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 8
or ecx, eax
movzx eax, byte [esi - 1]
dec esi
or ecx, eax
movzx edx, byte [esi - 1]
dec esi
shl edx, 0x18
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x10
or edx, eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 8
or edx, eax
movzx eax, byte [esi - 1]
dec esi
or edx, eax
jmp case.default.0x10023b05
movzx eax, byte [esi + 1]
movzx edx, byte [esi]
movzx ecx, byte [esi + 4]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 2]
shl eax, 0x10
or edx, eax
movzx eax, byte [esi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [esi + 5]
shl eax, 8
or ecx, eax
movzx eax, byte [esi + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi + 7]
shl eax, 0x18
or ecx, eax
add esi, 8
xor edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
xor ecx, dword [esp + 0x10]
push 1
push dword [esp + 0x44]
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x38], ecx
call sym.LIBEAY32.dll_DES_encrypt1
xor dword [esp + 0x34], ebx
lea eax, [esp + 0x34]
xor dword [esp + 0x38], ebp
push 0
push dword [esp + 0x54]
push eax
call sym.LIBEAY32.dll_DES_encrypt1
xor dword [esp + 0x40], ebx
lea eax, [esp + 0x40]
xor dword [esp + 0x44], ebp
push 1
push dword [esp + 0x5c]
push eax
call sym.LIBEAY32.dll_DES_encrypt1
mov edx, dword [esp + 0x4c]
add esp, 0x24
mov ecx, dword [esp + 0x2c]
mov eax, edx
shr eax, 8
mov byte [edi], dl
mov byte [edi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
sub dword [esp + 0x54], 8
shr eax, 0x18
mov byte [edi + 3], al
mov eax, ecx
shr eax, 8
mov byte [edi + 4], cl
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, ecx
shr eax, 0x18
mov byte [edi + 7], al
add edi, 8
mov eax, dword [esp + 0x3c]
sub eax, 8
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], eax
cmp eax, 0xfffffff9
jge 0x10023ac4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], ebp
jmp 0x10023c56
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ecx
shr eax, 8
shr ebx, 0x18
mov byte [edi + 2], bl
mov byte [edi + 3], cl
mov byte [edi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr ecx, 0x18
mov byte [edi + 6], cl
mov ecx, dword [esp + 0x50]
lea ebx, [ecx + 1]
shr eax, 8
pop edi
pop esi
mov byte [ecx], dl
mov ecx, dword [esp + 8]
mov byte [ebx], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr edx, 0x18
mov byte [ebx + 2], dl
mov byte [ebx + 3], cl
shr eax, 8
mov byte [ebx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 5], al
shr ecx, 0x18
pop ebp
mov byte [ebx + 6], cl
pop ebx
add esp, 0x20
ret
movzx ecx, byte [eax]
lea esi, [eax + 1]
mov edx, esi
mov edi, dword [esp + 0x3c]
add edi, 0xfffffff8
mov dword [esp + 0x20], esi
movzx eax, byte [edx]
movzx ebx, byte [edx + 3]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ebx, eax
mov dword [esp + 0x54], ecx
movzx ecx, byte [edx + 6]
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x50]
shl ecx, 0x10
or ebx, ecx
mov dword [esp + 0x10], ebx
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
mov dword [esp + 0x24], ebp
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [edx + 5]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x14]
shl ecx, 8
or ecx, eax
shl ecx, 0x10
or edx, ecx
mov dword [esp + 0x14], edx
cmp edi, 0xfffffff9
jl 0x10023f20
mov esi, dword [esp + 0x38]
lea ebp, [edi + 7]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
push 1
push dword [esp + 0x4c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
call sym.LIBEAY32.dll_DES_encrypt1
mov eax, dword [esp + 0x34]
lea ebx, [ebx + 8]
movzx ecx, byte [ebx - 8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
movzx edx, byte [ebx - 4]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx - 7]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx - 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebx - 5]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx - 3]
shl eax, 8
or edx, eax
mov dword [esp + 0x48], ecx
movzx eax, byte [ebx - 2]
shl eax, 0x10
or edx, eax
mov dword [esp + 0x34], ecx
movzx eax, byte [ebx - 1]
shl eax, 0x18
or edx, eax
lea eax, [esp + 0x34]
push 0
push dword [esp + 0x50]
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x44], edx
call sym.LIBEAY32.dll_DES_encrypt1
mov eax, dword [esp + 0x6c]
xor dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push 1
push dword [esp + 0x60]
push eax
call sym.LIBEAY32.dll_DES_encrypt1
mov eax, dword [esp + 0x78]
xor dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
xor dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push 0
push dword [esp + 0x68]
push eax
call sym.LIBEAY32.dll_DES_encrypt1
mov edx, dword [esp + 0x58]
add esp, 0x30
mov ecx, dword [esp + 0x2c]
xor edx, dword [esp + 0x18]
xor ecx, dword [esp + 0x14]
test edi, edi
jns 0x10023ec3
add esi, 8
add esi, edi
cmp ebp, 7
ja case.default.0x10023e84
jmp dword [ebp*4 + 0x10023fbc]
dec esi
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, ecx
shr eax, 8
mov byte [esi], al
dec esi
mov byte [esi], cl
dec esi
mov eax, edx
shr eax, 0x18
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 0x10
mov byte [esi], al
dec esi
mov eax, edx
shr eax, 8
mov byte [esi], al
dec esi
mov byte [esi], dl
jmp case.default.0x10023e84
mov byte [esi], dl
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ecx
shr edx, 0x18
mov byte [esi + 3], dl
mov byte [esi + 4], cl
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + 6], al
mov byte [esi + 7], cl
add esi, 8
mov eax, dword [esp + 0x3c]
sub edi, 8
mov edx, dword [esp + 0x1c]
sub ebp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
cmp edi, 0xfffffff9
jge 0x10023d92
mov esi, dword [esp + 0x20]
mov ebx, eax
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
pop edi
mov byte [eax], cl
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
shr ecx, 0x18
mov byte [esi + 2], cl
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 8
mov byte [esi + 3], cl
mov byte [esi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 5], al
mov eax, dword [esp + 0x4c]
shr ecx, 0x18
mov byte [esi + 6], cl
pop esi
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], dl
shr eax, 8
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 5], al
shr edx, 0x18
mov byte [ebp + 6], dl
pop ebp
pop ebx
add esp, 0x20
ret