Function at 0x412b70
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 esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov edi, edx
mov edx, dword [ebp + 8]
mov byte [esp + 0x24], 0x30
mov dword [esp + 0x20], 0x30303030
mov dword [esp + 0x1c], 0x30303030
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ecx
call 0x412bc0
pop ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], ecx
test eax, eax
je 0x412c2d
test ecx, ecx
mov ecx, dword [ebx + 0xc]
mov edi, dword [ebp + 0x10]
mov edx, 9
cmovne edx, ecx
test edx, edx
mov dword [esp + 0xc], edx
je 0x412c37
xor edx, edx
mov dword [esp + 0x10], ecx
mov ecx, 0xcccccccd
div edi
add al, 0x30
mov ebx, edx
mov byte [esp + 0x1c], al
mov eax, edi
mul ecx
test ebx, ebx
je 0x412c5f
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
shr edx, 3
mov dword [esp + 4], ebx
cmp ecx, 1
jne 0x412c78
mov ebx, dword [esp + 0x14]
jmp 0x412e8a
mov ecx, dword [ebx + 0xc]
xor eax, eax
jmp 0x412f8a
lea edx, [edi + edi*4]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
cmp edx, eax
jbe 0x412ef2
mov dword [esp + 0xc], 0
jmp 0x412e9b
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, 1
jmp 0x412f8a
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], edx
cmp ecx, 0xa
jb 0x4131e0
mov eax, dword [esp + 4]
xor edx, edx
div dword [esp + 8]
add al, 0x30
mov byte [esp + 0x1d], al
mov eax, ecx
mov ecx, edx
mov edx, 0x51eb851f
mul edx
test ecx, ecx
mov dword [esp + 4], ecx
je 0x412f26
mov ecx, dword [esp + 0xc]
shr edx, 5
cmp ecx, 2
je 0x412e8a
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], edx
cmp ecx, 0x64
jb 0x4131e0
mov eax, dword [esp + 4]
xor edx, edx
div dword [esp + 8]
add al, 0x30
mov byte [esp + 0x1e], al
mov eax, ecx
mov ecx, edx
mov edx, 0x10624dd3
mul edx
test ecx, ecx
mov dword [esp + 4], ecx
je 0x412f3a
mov ecx, dword [esp + 0xc]
shr edx, 6
cmp ecx, 3
je 0x412e8a
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], edx
cmp ecx, 0x3e8
jb 0x4131e0
mov eax, dword [esp + 4]
xor edx, edx
div dword [esp + 8]
add al, 0x30
mov byte [esp + 0x1f], al
mov eax, ecx
mov ecx, edx
mov edx, 0xd1b71759
mul edx
test ecx, ecx
mov dword [esp + 4], ecx
je 0x412f41
mov ecx, dword [esp + 0xc]
shr edx, 0xd
cmp ecx, 4
je 0x412e8a
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], edx
cmp ecx, 0x2710
jb 0x4131e0
mov eax, dword [esp + 4]
xor edx, edx
div dword [esp + 8]
add al, 0x30
mov byte [esp + 0x20], al
mov eax, ecx
mov ecx, edx
mov edx, 0xa7c5ac5
shr eax, 5
mov dword [esp + 4], ecx
mul edx
test ecx, ecx
je 0x412f48
mov ecx, dword [esp + 0xc]
shr edx, 7
cmp ecx, 5
je 0x412e8a
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], edx
cmp ecx, 0x186a0
jb 0x4131e0
mov eax, dword [esp + 4]
xor edx, edx
div dword [esp + 8]
add al, 0x30
mov byte [esp + 0x21], al
mov eax, ecx
mov ecx, edx
mov edx, 0x431bde83
mul edx
test ecx, ecx
mov dword [esp + 4], ecx
je 0x412f4f
mov ecx, dword [esp + 0xc]
shr edx, 0x12
cmp ecx, 6
je 0x412e8a
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], edx
cmp ecx, 0xf4240
jb 0x4131e0
xor edx, edx
mov eax, dword [esp + 4]
div word [esp + 8]
add al, 0x30
mov ecx, edx
mov edx, 0x6b5fca6b
mov byte [esp + 0x22], al
mov eax, dword [ebp + 0x10]
mul edx
test cx, cx
je 0x412f56
mov eax, ecx
mov ecx, dword [esp + 0xc]
shr edx, 0x16
cmp ecx, 7
je 0x412e83
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], edx
cmp ecx, 0x989680
jb 0x4131e0
xor edx, edx
div word [esp + 8]
add al, 0x30
mov ecx, edx
mov edx, 0x55e63b89
mov byte [esp + 0x23], al
mov eax, dword [ebp + 0x10]
mul edx
test cx, cx
je 0x412f5d
shr edx, 0x19
cmp dword [esp + 0xc], 8
mov eax, ecx
mov dword [esp + 8], edx
jne 0x412f64
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
movzx eax, ax
mov dword [esp + 4], eax
lea eax, [edx + edx*4]
mov dword [esp + 0x2c], ecx
cmp dword [esp + 4], eax
jae 0x412ea3
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x412f92
lea eax, [ecx - 1]
nop word cs:[eax + eax]
movzx edx, byte [esp + eax + 0x1c]
mov ecx, eax
mov dword [esp + 4], eax
mov edi, 0x30
mov ebx, edx
inc bl
add eax, 0xffffffff
setb bh
cmp dl, 0x39
movzx ecx, bl
cmovae ecx, edi
mov edi, dword [esp + 4]
mov byte [esp + edi + 0x1c], cl
jb 0x412ee1
test bh, bh
jne 0x412eb0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp dl, 0x38
jbe 0x412f2d
mov eax, dword [ebp + 8]
add edi, 1
adc eax, 0
jae 0x412f14
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov al, 1
jmp 0x412fac
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
jmp 0x412f9a
mov eax, 2
jmp 0x412f83
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
jmp 0x412f9a
mov eax, 3
jmp 0x412f83
mov eax, 4
jmp 0x412f83
mov eax, 5
jmp 0x412f83
mov eax, 6
jmp 0x412f83
mov eax, 7
jmp 0x412f83
mov eax, 8
jmp 0x412f83
cmp dword [ebp + 0x10], 0x5f5e100
jb 0x4131e0
xor edx, edx
div word [esp + 8]
add al, 0x30
mov byte [esp + 0x24], al
mov eax, 9
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 1
cmp ecx, 9
mov edi, 9
lea edx, [esp + 0x30]
cmovb edi, ecx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x64], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x70], edx
lea edx, [esp + 0x2c]
cmove edi, dword [esp + 0xc]
cmp dword [ebx], 0
mov dword [esp + 0x74], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x50], edi
je 0x4130bd
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 4]
xor ebx, ebx
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x20]
nop
xor edx, edx
cmp byte [esi], 0xc0
setge dl
inc esi
add ebx, edx
dec ecx
jne 0x413010
add ebx, dword [ebp + 0x18]
mov edx, dword [esp + 0xc]
mov ecx, 0x14
test al, al
jne 0x413100
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov eax, ecx
or eax, esi
je 0x4130cd
mov eax, esi
shld eax, ecx, 0x16
mov dword [esp + 4], eax
mov eax, esi
shr eax, 0xa
mov dword [esp + 0x48], eax
push 2
push 0x540be400
push esi
push ecx
mov dword [esp + 0x28], ecx
call fcn.0043a290
mov ecx, 0x9502f8
mov dword [esp + 0x28], esi
mov esi, 0
cmp ecx, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp + 0x48]
mov ecx, 0xa
cmovae edx, dword [esp + 0x28]
cmovae eax, dword [esp + 0x18]
cmovae ecx, esi
mov dword [esp + 4], ecx
cmp eax, 0x186a0
mov ecx, edx
sbb ecx, 0
jb 0x4130d4
push 0
push 0x186a0
push edx
push eax
call fcn.0043a290
mov esi, dword [esp + 4]
or esi, 5
jmp 0x4130d8
lea ecx, [esp + 0x64]
mov edx, ebx
call fcn.00413210
jmp 0x4131d8
mov ecx, 1
jmp 0x413100
mov esi, dword [esp + 4]
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 + 0xc]
xor eax, ecx
shr eax, 0x11
lea ecx, [esi + eax + 1]
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x10]
cmove eax, edx
inc eax
test edi, edi
cmove eax, edi
mov edi, dword [esp + 8]
add eax, ecx
add ebx, eax
sub edi, ebx
jbe 0x41313b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
xor esi, esi
movzx eax, byte [ecx + 0x20]
add edx, dword [eax*4 + 0x4131f4]
jmp edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x64]
call fcn.00413210
jmp 0x4131d8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.attempt_to_divide_by_zero00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
mov edx, 0x19
push 0x44c494
call fcn.004488d0
xchg esp, eax
add eax, 0x5750000
add byte [eax], al
lea eax, [0x5940000]
add byte [eax], al
int3