Function at 0x10183c40
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [ebp + 0x14]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov esi, dword [ebp + 0x20]
mov byte [esp + 0x28], 0x30
mov dword [esp + 0x24], 0x30303030
mov dword [esp + 0x20], 0x30303030
mov edx, dword [ebx + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x5c], ecx
call 0x10183c8d
pop ecx
test edi, edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
je 0x10183d00
mov ecx, dword [ebp + 0x10]
test edx, edx
mov edx, 9
cmovne edx, eax
test edx, edx
mov dword [esp + 0xc], edx
je 0x10183d04
test ecx, ecx
je 0x10184327
mov eax, edi
xor edx, edx
div ecx
add al, 0x30
mov edi, edx
mov edx, 0xcccccccd
mov byte [esp + 0x20], al
mov eax, ecx
mul edx
test edi, edi
je 0x10183d21
mov ebx, dword [esp + 0xc]
shr edx, 3
mov dword [esp + 8], edi
cmp ebx, 1
jne 0x10183d66
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 4]
jmp 0x10183eb8
xor edx, edx
jmp 0x10183d31
lea eax, [ecx + ecx*4]
mov dword [esp + 0x2c], edx
xor edx, edx
mov ecx, dword [ebp + 8]
cmp eax, edi
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x14]
ja 0x10183d39
jmp 0x10183f1b
mov edx, 1
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 1
mov dword [esp + 8], 0
jmp 0x10183f6f
cmp ecx, 0xa
jb 0x10184327
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0x51eb851f
add al, 0x30
mov ebx, edx
mov byte [esp + 0x21], al
mov eax, ecx
mul edi
test ebx, ebx
je 0x10184187
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc]
shr edx, 5
cmp ebx, 2
je 0x10183eb1
cmp ecx, 0x64
jb 0x10184327
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0x10624dd3
add al, 0x30
mov ebx, edx
mov byte [esp + 0x22], al
mov eax, ecx
mul edi
test ebx, ebx
je 0x101841ca
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc]
shr edx, 6
cmp ebx, 3
je 0x10183eb1
cmp ecx, 0x3e8
jb 0x10184327
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0xd1b71759
add al, 0x30
mov ebx, edx
mov byte [esp + 0x23], al
mov eax, ecx
mul edi
test ebx, ebx
je 0x101841d1
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc]
shr edx, 0xd
cmp ebx, 4
je 0x10183eb1
cmp ecx, 0x2710
jb 0x10184327
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0xa7c5ac5
add al, 0x30
mov byte [esp + 0x24], al
mov eax, ecx
mov ecx, edx
shr eax, 5
mul edi
test ecx, ecx
je 0x101841d8
mov ebx, dword [esp + 0xc]
shr edx, 7
mov dword [esp + 8], ecx
cmp ebx, 5
je 0x10183eb1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x186a0
jb 0x10184327
mov eax, dword [esp + 8]
mov edi, edx
xor edx, edx
div edi
mov edi, 0x431bde83
add al, 0x30
mov ebx, edx
mov byte [esp + 0x25], al
mov eax, ecx
mul edi
test ebx, ebx
je 0x101841df
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc]
shr edx, 0x12
cmp ebx, 6
jne 0x101841f8
mov edi, dword [esp + 4]
mov ecx, dword [ebp + 8]
lea eax, [edx + edx*4]
mov dword [esp + 0x2c], ebx
cmp dword [esp + 8], eax
jae 0x10183ed4
mov edx, ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x10183d39
lea eax, [ebx - 1]
mov esi, 0x30
nop dword [eax]
movzx edx, byte [esp + eax + 0x20]
mov edi, eax
mov ebx, edx
inc bl
add eax, 0xffffffff
setb bh
cmp dl, 0x39
movzx ecx, bl
cmovae ecx, esi
mov byte [esp + edi + 0x20], cl
jb 0x10183f04
test bh, bh
jne 0x10183ee0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 4]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x20]
cmp dl, 0x38
jbe 0x10183f43
add edi, 1
adc ecx, 0
jae 0x10183f3f
mov cl, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 8], ecx
mov ecx, eax
mov eax, ecx
jmp 0x10183f67
mov dword [esp + 4], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 1
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 9
mov edi, eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], edx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x78], eax
mov eax, edi
mov edi, 9
cmovb edi, eax
test ecx, ecx
cmove edi, edx
cmp dword [ebx], 0
mov dword [esp + 0x50], edi
je 0x10183ff2
mov edx, dword [ebx + 4]
cmp esi, 0x10
mov dword [esp + 0x48], edx
jae 0x10184002
mov edx, dword [ebp + 0x18]
xor ebx, ebx
test esi, esi
je 0x10184013
mov ecx, dword [ebp + 0x1c]
nop dword [eax + eax]
xor eax, eax
cmp byte [ecx], 0xc0
lea ecx, [ecx + 1]
setge al
add ebx, eax
dec esi
jne 0x10183fe0
jmp 0x10184013
lea ecx, [esp + 0x64]
mov edx, ebx
call fcn.10184350
jmp 0x1018417f
push esi
push dword [ebp + 0x1c]
call fcn.10182b50
add esp, 8
mov edx, dword [ebp + 0x18]
mov ebx, eax
add ebx, edx
cmp byte [esp + 8], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, 0x14
jne 0x101840e9
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x18]
or eax, esi
je 0x101840b2
mov eax, dword [esp + 4]
mov ecx, esi
mov edx, esi
shr edx, 0xa
mov dword [esp + 0x44], edx
shld ecx, eax, 0x16
mov dword [esp + 8], ecx
push 2
push 0x540be400
push esi
push eax
call fcn.10192a00
mov ecx, 0x9502f8
mov dword [esp + 0x18], esi
mov esi, 0
cmp ecx, dword [esp + 8]
mov ecx, 0
sbb ecx, dword [esp + 0x44]
mov ecx, 0xa
cmovae edx, dword [esp + 0x18]
cmovae eax, dword [esp + 4]
cmovae ecx, esi
mov dword [esp + 8], ecx
cmp eax, 0x186a0
mov ecx, edx
sbb ecx, 0
jb 0x101840b9
push 0
push 0x186a0
push edx
push eax
call fcn.10192a00
mov esi, dword [esp + 8]
or esi, 5
jmp 0x101840bd
mov eax, 1
jmp 0x101840e9
mov esi, dword [esp + 8]
lea ecx, [eax + 0x5fff6]
lea edx, [eax + 0x7ff9c]
and ecx, edx
lea edx, [eax + 0xdfc18]
add eax, 0x7d8f0
and eax, edx
mov edx, dword [esp + 0x1c]
xor eax, ecx
mov ecx, dword [esp + 0x14]
shr eax, 0x11
lea eax, [esi + eax + 1]
test edx, edx
mov edx, dword [esp + 0x48]
cmove ecx, dword [esp + 0xc]
inc ecx
test edi, edi
cmove ecx, edi
add ecx, eax
add ebx, ecx
sub edx, ebx
jbe 0x10184121
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
xor ebx, ebx
movzx eax, byte [eax + 0x20]
add ecx, dword [eax*4 + 0x10184340]
mov eax, edx
jmp ecx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x64]
call fcn.10184350
jmp 0x1018417f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, 2
jmp 0x101841e4
mov edx, 3
jmp 0x101841e4
mov edx, 4
jmp 0x101841e4
mov edx, 5
jmp 0x101841e4
mov edx, 6
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
jmp 0x10183d35
cmp ecx, 0xf4240
jb 0x10184327
mov edi, edx
xor edx, edx
mov eax, dword [esp + 8]
div di
add al, 0x30
mov edi, edx
mov edx, 0x6b5fca6b
mov byte [esp + 0x26], al
mov eax, ecx
mul edx
test di, di
je 0x1018423d
mov ebx, dword [esp + 0xc]
shr edx, 0x16
cmp ebx, 7
jne 0x10184247
movzx eax, di
mov dword [esp + 8], eax
jmp 0x10183cf4
mov edx, 7
jmp 0x10183d26
cmp ecx, 0x989680
jb 0x10184327
mov ebx, edx
mov eax, edi
xor edx, edx
div bx
add al, 0x30
mov edi, edx
mov edx, 0x55e63b89
mov byte [esp + 0x27], al
mov eax, ecx
mul edx
test di, di
je 0x10184299
mov ebx, dword [esp + 0xc]
shr edx, 0x19
mov dword [esp + 0x18], edx
cmp ebx, 8
jne 0x101842a3
movzx eax, di
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov dword [esp + 8], eax
jmp 0x10183eb8
mov edx, 8
jmp 0x10183d26
cmp dword [ebp + 0x10], 0x5f5e100
jb 0x10184327
mov eax, edi
xor edx, edx
mov ecx, dword [esp + 0x14]
div word [esp + 0x18]
add al, 0x30
test dx, dx
mov byte [esp + 0x28], al
je 0x101842f4
mov eax, dword [ebp + 0x10]
mov ebx, edx
mov edx, 0x44b83
shr eax, 9
mul edx
cmp dword [esp + 0xc], 9
jne 0x1018430b
movzx eax, bx
mov edi, dword [esp + 4]
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0xc]
shr edx, 7
mov dword [esp + 8], eax
jmp 0x10183eb8
mov eax, ecx
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov ecx, dword [ebp + 8]
mov edx, 9
jmp 0x10183d35
cmp dword [ebp + 0x10], 0x3b9aca00
jb 0x10184327
push 0x1023fd74
push 9
push 9
call fcn.101af280
add esp, 0xc
ud2
push 0x1023fd64
push 0x19
push str.attempt_to_divide_by_zero
call fcn.101af1e0
add esp, 0xc
ud2