Function at 0x4a27b0
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 ebx, ecx
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov edi, edx
mov byte [esp + 0x24], 0x30
mov dword [esp + 0x20], 0x30303030
mov dword [esp + 0x1c], 0x30303030
mov edx, dword [ebx + 8]
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 0x4a2800
pop ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0xc]
test eax, eax
je 0x4a2a13
test edx, edx
mov edx, 9
cmovne edx, ecx
test edx, edx
mov dword [esp + 8], edx
je 0x4a2a1a
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a2e96
xor edx, edx
div ecx
add al, 0x30
mov ebx, edx
mov edx, 0xcccccccd
mov byte [esp + 0x1c], al
mov eax, ecx
mul edx
test ebx, ebx
je 0x4a2a37
mov ecx, dword [esp + 8]
shr edx, 3
cmp ecx, 1
je 0x4a2b3b
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
cmp ecx, 0xa
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div dword [esp + 4]
add al, 0x30
mov ebx, edx
mov byte [esp + 0x1d], al
mov eax, ecx
mov ecx, 0x51eb851f
mul ecx
test ebx, ebx
je 0x4a2a45
mov ecx, dword [esp + 8]
shr edx, 5
cmp ecx, 2
je 0x4a2b3b
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
cmp ecx, 0x64
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div dword [esp + 4]
add al, 0x30
mov ebx, edx
mov byte [esp + 0x1e], al
mov eax, ecx
mov ecx, 0x10624dd3
mul ecx
test ebx, ebx
je 0x4a2a53
mov ecx, dword [esp + 8]
shr edx, 6
cmp ecx, 3
je 0x4a2b3b
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
cmp ecx, 0x3e8
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div dword [esp + 4]
add al, 0x30
mov ebx, edx
mov byte [esp + 0x1f], al
mov eax, ecx
mov ecx, 0xd1b71759
mul ecx
test ebx, ebx
je 0x4a2a61
mov ecx, dword [esp + 8]
shr edx, 0xd
cmp ecx, 4
je 0x4a2b3b
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
cmp ecx, 0x2710
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div dword [esp + 4]
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 0x4a2a6f
mov ecx, dword [esp + 8]
shr edx, 7
cmp ecx, 5
je 0x4a2b3b
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
cmp ecx, 0x186a0
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div dword [esp + 4]
add al, 0x30
mov ebx, edx
mov byte [esp + 0x21], al
mov eax, ecx
mov ecx, 0x431bde83
mul ecx
test ebx, ebx
je 0x4a2a7d
mov ecx, dword [esp + 8]
shr edx, 0x12
cmp ecx, 6
je 0x4a2b3b
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
cmp ecx, 0xf4240
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div word [esp + 4]
add al, 0x30
mov ebx, edx
mov edx, 0x6b5fca6b
mov byte [esp + 0x22], al
mov eax, ecx
mul edx
test bx, bx
je 0x4a2a8b
mov ecx, dword [esp + 8]
shr edx, 0x16
cmp ecx, 7
jne 0x4a2a99
movzx ebx, bx
jmp 0x4a2b3b
xor edx, edx
jmp 0x4a2bfb
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x10]
lea edi, [edx + edx*4]
xor edx, edx
cmp edi, eax
mov edi, dword [esp + 0x18]
jbe 0x4a2b94
jmp 0x4a2bff
mov ecx, dword [esp + 0xc]
mov edx, 1
jmp 0x4a2bfb
mov ecx, dword [esp + 0xc]
mov edx, 2
jmp 0x4a2bfb
mov ecx, dword [esp + 0xc]
mov edx, 3
jmp 0x4a2bfb
mov ecx, dword [esp + 0xc]
mov edx, 4
jmp 0x4a2bfb
mov ecx, dword [esp + 0xc]
mov edx, 5
jmp 0x4a2bfb
mov ecx, dword [esp + 0xc]
mov edx, 6
jmp 0x4a2bfb
mov ecx, dword [esp + 0xc]
mov edx, 7
jmp 0x4a2bfb
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
cmp ecx, 0x989680
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div word [esp + 4]
add al, 0x30
mov ebx, edx
mov edx, 0x55e63b89
mov byte [esp + 0x23], al
mov eax, ecx
mul edx
test bx, bx
je 0x4a2ae4
mov ecx, dword [esp + 8]
shr edx, 0x19
mov dword [esp + 4], edx
cmp ecx, 8
jne 0x4a2af2
mov edx, dword [esp + 4]
movzx ebx, bx
jmp 0x4a2b3b
mov ecx, dword [esp + 0xc]
mov edx, 8
jmp 0x4a2bfb
cmp dword [ebp + 0x10], 0x5f5e100
jb 0x4a2e96
mov eax, ebx
xor edx, edx
div word [esp + 4]
add al, 0x30
test dx, dx
mov byte [esp + 0x24], al
je 0x4a2bf2
mov eax, dword [ebp + 0x10]
mov ecx, 0x44b83
mov ebx, edx
shr eax, 9
mul ecx
cmp dword [esp + 8], 9
jne 0x4a2e7a
mov ecx, dword [esp + 8]
movzx ebx, bx
shr edx, 7
lea eax, [edx + edx*4]
mov dword [esp + 0x2c], ecx
cmp ebx, eax
jae 0x4a2b51
mov edx, ecx
mov ecx, dword [esp + 0xc]
jmp 0x4a2bff
lea eax, [ecx - 1]
mov esi, 0x30
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 0x4a2b84
test bh, bh
jne 0x4a2b60
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov esi, dword [ebp + 0x1c]
cmp dl, 0x38
jbe 0x4a2bc5
mov eax, dword [ebp + 8]
add edi, 1
adc eax, 0
jae 0x4a2bb7
mov al, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 4], eax
jmp 0x4a2be8
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], eax
jmp 0x4a2bcc
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 1
mov dword [esp + 4], 0
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 8]
jmp 0x4a2c26
mov ecx, dword [esp + 0xc]
mov edx, 9
mov dword [esp + 0x2c], edx
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], edi
mov dword [esp + 4], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 1
cmp ecx, 9
mov edi, 9
mov dword [esp + 8], edx
lea eax, [esp + 0x30]
cmovb edi, ecx
test ebx, ebx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
cmove edi, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x70], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x5c]
cmp dword [edx], 0
mov dword [esp + 0x78], eax
je 0x4a2ca0
mov eax, dword [edx + 4]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
mov dword [esp + 0x48], eax
jae 0x4a2cae
xor ebx, ebx
test edx, edx
je 0x4a2cbe
nop dword [eax]
xor eax, eax
cmp byte [esi], 0xc0
setge al
inc esi
add ebx, eax
dec edx
jne 0x4a2c90
jmp 0x4a2cbe
lea ecx, [esp + 0x64]
call fcn.004a2ed0
jmp 0x4a2e2f
push edx
push esi
mov esi, ecx
call fcn.004a1800
mov ecx, esi
add esp, 8
mov ebx, eax
add ebx, dword [ebp + 0x18]
cmp byte [esp + 4], 0
mov edx, dword [esp + 0x10]
mov eax, 0x14
jne 0x4a2d95
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
or eax, esi
je 0x4a2d5e
mov eax, dword [esp + 0x18]
mov edx, esi
mov dword [esp + 0xc], ecx
mov ecx, esi
shr edx, 0xa
mov dword [esp + 0x44], edx
shld ecx, eax, 0x16
mov dword [esp + 4], ecx
push 2
push 0x540be400
push esi
push eax
call fcn.004b0970
mov ecx, 0x9502f8
mov dword [esp + 0x28], esi
mov esi, 0
cmp ecx, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp + 0x44]
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 0x4a2d65
push 0
push 0x186a0
push edx
push eax
call fcn.004b0970
mov esi, dword [esp + 4]
or esi, 5
jmp 0x4a2d69
mov eax, 1
jmp 0x4a2d95
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 + 0x10]
xor eax, ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x11
lea eax, [esi + eax + 1]
test edx, edx
mov edx, dword [esp + 0x48]
cmove ecx, dword [esp + 8]
inc ecx
test edi, edi
cmove ecx, edi
add ecx, eax
add ebx, ecx
sub edx, ebx
jbe 0x4a2dcd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
xor ebx, ebx
movzx eax, byte [eax + 0x20]
add ecx, dword [eax*4 + 0x4a2eac]
mov eax, edx
jmp ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x64]
call fcn.004a2ed0
jmp 0x4a2e2f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp + 0x10], 0x3b9aca00
jb 0x4a2e96
push 0x51062c
push 9
push 9
call fcn.004b4860
add esp, 0xc
ud2
push 0x51061c
push 0x19
push str.attempt_to_divide_by_zero
call fcn.004b47c0
add esp, 0xc
ud2