Function at 0x4bc770
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 0x4bc7bb
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 0x4bc98d
test ecx, ecx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp + 0x10]
mov edi, 9
cmovne edi, ecx
test edi, edi
je 0x4bc997
test edx, edx
mov dword [esp + 0xc], ecx
je 0x4bcde7
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 0x4bc9b7
shr edx, 3
cmp edi, 1
je 0x4bca8b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xa
jb 0x4bcde7
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 0x4bc9c1
shr edx, 5
cmp edi, 2
je 0x4bca8b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x64
jb 0x4bcde7
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 0x4bc9cb
shr edx, 6
cmp edi, 3
je 0x4bca8b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x3e8
jb 0x4bcde7
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 0x4bc9d5
shr edx, 0xd
cmp edi, 4
je 0x4bca8b
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x2710
jb 0x4bcde7
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 0x4bc9df
shr edx, 7
cmp edi, 5
je 0x4bca8b
mov eax, ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x186a0
jb 0x4bcde7
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 0x4bc9e9
shr edx, 0x12
cmp edi, 6
je 0x4bca8b
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xf4240
jb 0x4bcde7
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 0x4bc9f3
shr edx, 0x16
cmp edi, 7
jne 0x4bc9fd
movzx ebx, bx
jmp 0x4bca8b
mov ecx, dword [ebx + 0xc]
xor eax, eax
jmp 0x4bcb48
lea edx, [edx + edx*4]
mov dword [esp + 0x2c], edi
cmp edx, eax
jbe 0x4bcaf8
mov edx, dword [esp + 4]
mov dword [esp + 0x14], 0
jmp 0x4bcb50
mov eax, 1
jmp 0x4bcb3c
mov eax, 2
jmp 0x4bcb3c
mov eax, 3
jmp 0x4bcb3c
mov eax, 4
jmp 0x4bcb3c
mov eax, 5
jmp 0x4bcb3c
mov eax, 6
jmp 0x4bcb3c
mov eax, 7
jmp 0x4bcb3c
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], edx
cmp eax, 0x989680
jb 0x4bcde7
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 0x4bca40
shr edx, 0x19
cmp edi, 8
mov ecx, edx
jne 0x4bca4a
movzx ebx, bx
mov edx, ecx
jmp 0x4bca8b
mov eax, 8
jmp 0x4bcb3c
cmp dword [ebp + 0x10], 0x5f5e100
jb 0x4bcde7
mov eax, ebx
xor edx, edx
div cx
add al, 0x30
test dx, dx
mov byte [esp + 0x24], al
je 0x4bcb37
mov eax, dword [ebp + 0x10]
mov ecx, 0x44b83
mov ebx, edx
shr eax, 9
mul ecx
cmp edi, 9
jne 0x4bcdd0
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 0x4bcaab
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
jmp 0x4bcb50
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 0x4bcae4
test bh, bh
jne 0x4bcac0
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 0x1c]
cmp dl, 0x38
jbe 0x4bcb2d
mov eax, dword [esp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], edi
add eax, 1
adc edx, 0
jae 0x4bcb23
mov al, 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
jmp 0x4bcb73
mov dword [esp + 4], eax
mov dword [esp + 0x38], eax
jmp 0x4bcb57
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
jmp 0x4bcb54
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 0x4bcc06
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 4]
cmp eax, 0x10
mov dword [esp + 0x18], edx
jae 0x4bcc16
xor ebx, ebx
test eax, eax
je 0x4bcbf2
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 0x4bcbe0
add ebx, dword [ebp + 0x18]
cmp byte [esp + 0x10], 0
mov eax, 0x14
je 0x4bcc39
jmp 0x4bccf9
lea ecx, [esp + 0x64]
mov edx, ebx
call fcn.004bce10
jmp 0x4bcdc8
push eax
push esi
mov esi, ecx
call fcn.004bac90
mov ecx, esi
add esp, 8
mov ebx, eax
add ebx, dword [ebp + 0x18]
cmp byte [esp + 0x10], 0
mov eax, 0x14
jne 0x4bccf9
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x44]
mov eax, esi
or eax, edx
je 0x4bccc6
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 fcn.004c9a84
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 0x4bcccd
push 0
push 0x186a0
push edx
push eax
call fcn.004c9a84
add esp, 0x10
mov esi, dword [esp + 0x10]
or esi, 5
jmp 0x4bccd1
mov eax, 1
jmp 0x4bccf9
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 0x4bcd32
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
xor esi, esi
movzx eax, byte [ecx + 0x20]
add edx, dword [eax*4 + 0x4bcdf8]
jmp edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x64]
call fcn.004bce10
jmp 0x4bcdc8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebp + 0x10], 0x3b9aca00
jb 0x4bcde7
push 0x4edfa0
push 9
push 9
call fcn.004b4cc0
push 0x4edf90
push 0x19
push str.attempt_to_divide_by_zero
call fcn.004b4b80
nop
add eax, 0x5710000
add byte [eax], al
mov dword [0x5900000], eax
add byte [eax], al
nop dword [eax + eax]