Function at 0x4a0e50
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 byte [esp + 0x24], 0x30
mov dword [esp + 0x20], 0x30303030
mov dword [esp + 0x1c], 0x30303030
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ecx
call 0x4a0e9b
pop ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x4a106d
test ecx, ecx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp + 0x10]
mov edi, 9
cmovne edi, ecx
test edi, edi
je 0x4a1077
test edx, edx
mov dword [esp + 0xc], ecx
je 0x4a14c7
mov ebx, edx
xor edx, edx
mov ecx, 0xcccccccd
div ebx
add al, 0x30
mov byte [esp + 0x1c], al
mov eax, ebx
mov ebx, edx
mul ecx
test ebx, ebx
je 0x4a1097
shr edx, 3
cmp edi, 1
je 0x4a116b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xa
jb 0x4a14c7
mov ecx, edx
xor edx, edx
div ecx
mov ecx, 0x51eb851f
add al, 0x30
mov byte [esp + 0x1d], al
mov eax, ebx
mov ebx, edx
mul ecx
test ebx, ebx
je 0x4a10a1
shr edx, 5
cmp edi, 2
je 0x4a116b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x64
jb 0x4a14c7
mov ecx, edx
xor edx, edx
div ecx
mov ecx, 0x10624dd3
add al, 0x30
mov byte [esp + 0x1e], al
mov eax, ebx
mov ebx, edx
mul ecx
test ebx, ebx
je 0x4a10ab
shr edx, 6
cmp edi, 3
je 0x4a116b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x3e8
jb 0x4a14c7
mov ecx, edx
xor edx, edx
div ecx
mov ecx, 0xd1b71759
add al, 0x30
mov byte [esp + 0x1f], al
mov eax, ebx
mov ebx, edx
mul ecx
test ebx, ebx
je 0x4a10b5
shr edx, 0xd
cmp edi, 4
je 0x4a116b
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x2710
jb 0x4a14c7
mov eax, ebx
mov ebx, edx
xor edx, edx
div ebx
add al, 0x30
mov ebx, edx
mov byte [esp + 0x20], al
mov eax, ecx
mov ecx, 0xa7c5ac5
shr eax, 5
mul ecx
test ebx, ebx
je 0x4a10bf
shr edx, 7
cmp edi, 5
je 0x4a116b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x186a0
jb 0x4a14c7
mov ecx, edx
xor edx, edx
div ecx
mov ecx, 0x431bde83
add al, 0x30
mov byte [esp + 0x21], al
mov eax, ebx
mov ebx, edx
mul ecx
test ebx, ebx
je 0x4a10c9
shr edx, 0x12
cmp edi, 6
je 0x4a116b
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xf4240
jb 0x4a14c7
mov eax, ebx
mov ebx, edx
xor edx, edx
mov ecx, 0x6b5fca6b
div bx
add al, 0x30
mov ebx, edx
mov byte [esp + 0x22], al
mov eax, dword [ebp + 0x10]
mul ecx
test bx, bx
je 0x4a10d3
shr edx, 0x16
cmp edi, 7
jne 0x4a10dd
movzx ebx, bx
jmp 0x4a116b
mov ecx, dword [ebx + 0xc]
xor eax, eax
jmp 0x4a1228
lea edx, [edx + edx*4]
mov dword [esp + 0x2c], edi
cmp edx, eax
jbe 0x4a11d8
mov edx, dword [esp + 4]
mov dword [esp + 0x14], 0
jmp 0x4a1230
mov eax, 1
jmp 0x4a121c
mov eax, 2
jmp 0x4a121c
mov eax, 3
jmp 0x4a121c
mov eax, 4
jmp 0x4a121c
mov eax, 5
jmp 0x4a121c
mov eax, 6
jmp 0x4a121c
mov eax, 7
jmp 0x4a121c
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], edx
cmp eax, 0x989680
jb 0x4a14c7
mov eax, ebx
xor edx, edx
mov ecx, 0x55e63b89
div word [esp + 0x18]
add al, 0x30
mov ebx, edx
mov byte [esp + 0x23], al
mov eax, dword [ebp + 0x10]
mul ecx
test bx, bx
je 0x4a1120
shr edx, 0x19
cmp edi, 8
mov ecx, edx
jne 0x4a112a
movzx ebx, bx
mov edx, ecx
jmp 0x4a116b
mov eax, 8
jmp 0x4a121c
cmp dword [ebp + 0x10], 0x5f5e100
jb 0x4a14c7
mov eax, ebx
xor edx, edx
div cx
add al, 0x30
test dx, dx
mov byte [esp + 0x24], al
je 0x4a1217
mov eax, dword [ebp + 0x10]
mov ecx, 0x44b83
mov ebx, edx
shr eax, 9
mul ecx
cmp edi, 9
jne 0x4a14b0
movzx ebx, bx
shr edx, 7
lea eax, [edx + edx*4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
cmp ebx, eax
jae 0x4a118b
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
jmp 0x4a1230
lea eax, [edi - 1]
mov esi, 0x30
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [esp + eax + 0x1c]
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 + 0x1c], cl
jb 0x4a11c4
test bh, bh
jne 0x4a11a0
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 0x1c]
cmp dl, 0x38
jbe 0x4a120d
mov eax, dword [esp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], edi
add eax, 1
adc edx, 0
jae 0x4a1203
mov al, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
jmp 0x4a1253
mov dword [esp + 4], eax
mov dword [esp + 0x38], eax
jmp 0x4a1237
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
jmp 0x4a1234
mov eax, 9
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x10], 0
cmp ecx, 9
mov edi, 9
lea eax, [esp + 0x30]
cmovb edi, ecx
cmp dword [esp + 0x28], 0
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 + 0x1c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x2c]
cmove edi, dword [esp + 0x14]
cmp dword [ebx], 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x50], edi
je 0x4a12e6
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 4]
cmp eax, 0x10
mov dword [esp + 0x18], edx
jae 0x4a12f6
xor ebx, ebx
test eax, eax
je 0x4a12d2
nop word [eax + eax]
mov edx, eax
xor eax, eax
cmp byte [esi], 0xc0
setge al
inc esi
add ebx, eax
mov eax, edx
dec eax
jne 0x4a12c0
add ebx, dword [ebp + 0x18]
cmp byte [esp + 0x10], 0
mov eax, 0x14
je 0x4a1319
jmp 0x4a13d9
lea ecx, [esp + 0x64]
mov edx, ebx
call dbg.{closure#1}
jmp 0x4a14a8
push eax
push esi
mov esi, ecx
call dbg.do_count_chars
mov ecx, esi
add esp, 8
mov ebx, eax
add ebx, dword [ebp + 0x18]
cmp byte [esp + 0x10], 0
mov eax, 0x14
jne 0x4a13d9
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x44]
mov eax, esi
or eax, edx
je 0x4a13a6
mov eax, edx
mov dword [esp + 0xc], ecx
shld eax, esi, 0x16
mov dword [esp + 0x10], eax
mov eax, edx
shr eax, 0xa
mov dword [esp + 0x48], eax
push 2
push 0x540be400
push edx
push esi
call sym.___udivdi3
add esp, 0x10
mov ecx, 0x9502f8
mov dword [esp + 4], esi
mov esi, 0
cmp ecx, dword [esp + 0x10]
mov ecx, 0
sbb ecx, dword [esp + 0x48]
mov ecx, 0xa
cmovae edx, dword [esp + 0x44]
cmovae eax, dword [esp + 4]
cmovae ecx, esi
mov dword [esp + 0x10], ecx
cmp eax, 0x186a0
mov ecx, edx
sbb ecx, 0
jb 0x4a13ad
push 0
push 0x186a0
push edx
push eax
call sym.___udivdi3
add esp, 0x10
mov esi, dword [esp + 0x10]
or esi, 5
jmp 0x4a13b1
mov eax, 1
jmp 0x4a13d9
mov esi, dword [esp + 0x10]
lea ecx, [eax + 0x5fff6]
lea edx, [eax + 0x7ff9c]
and ecx, edx
lea edx, [eax + 0xdfc18]
add eax, 0x7d8f0
and eax, edx
xor eax, ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x11
lea eax, [esi + eax + 1]
cmp dword [esp + 0x28], 0
cmove ecx, dword [esp + 0x14]
inc ecx
test edi, edi
cmove ecx, edi
mov edi, dword [esp + 0x18]
add ecx, eax
add ebx, ecx
sub edi, ebx
jbe 0x4a1412
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
xor esi, esi
movzx eax, byte [ecx + 0x20]
add edx, dword [eax*4 + 0x4a14d8]
jmp edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x64]
call dbg.{closure#1}
jmp 0x4a14a8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp + 0x10], 0x3b9aca00
jb 0x4a14c7
push 0x4cd030
push 9
push 9
call dbg.panic_bounds_check
push 0x4cd020
push 0x19
push str.attempt_to_divide_by_zero
call dbg.panic
nop
add eax, 0x5710000
add byte [eax], al
mov dword [0x5900000], eax
add byte [eax], al
nop dword [eax + eax]