Function at 0x4b05d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x5c
lea eax, [ecx - 2]
push ebp
mov ebp, dword [esp + 0x7c]
cmp ax, 0xe
ja 0x4b07ca
mov eax, dword [esp + 0x74]
push ebx
push esi
push edi
mov ebx, dword [eax]
mov edi, dword [esp + 0x7c]
add ebx, edi
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], eax
mov esi, edi
movzx eax, cx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], eax
cdq
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], edx
push edx
push dword [esp + 0x28]
mov dword [esp + 0x18], eax
push ecx
push eax
call fcn.004c4c70
mov dword [esp + 0x1c], edx
lea edx, [esi + 1]
mov dword [esp + 0x18], eax
cmp edx, ebx
ja 0x4b085a
mov eax, dword [esp + 0x28]
mov ecx, esi
imul eax, dword [esp + 0x18]
mov esi, edx
mov dword [esp + 0x38], esi
sub dword [esp + 0x10], eax
cmp byte [esp + 0x90], 0
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0x654c9f]
mov byte [ecx], al
mov ecx, dword [esp + 0x78]
je 0x4b06ab
cmp cx, 0xa
jne 0x4b06ab
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 3
jne 0x4b06a7
lea eax, [edx + 1]
cmp eax, ebx
ja 0x4b07d8
mov al, byte [esp + 0x90]
lea esi, [edx + 1]
mov byte [edx], al
xor eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x4b06c6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
jmp 0x4b0620
mov dl, byte [esp + 0x8c]
mov dh, byte [esp + 0x84]
cmp dl, 0x30
jne 0x4b071c
test dh, dh
je 0x4b06f1
cmp cx, 8
jne 0x4b06e6
dec ebp
jmp 0x4b06f1
mov eax, ebp
cmp cx, 0x10
jne 0x4b06f1
lea ebp, [eax - 2]
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x4b071c
nop dword [eax]
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x4b080c
mov eax, esi
mov esi, ecx
sub ecx, edi
mov dword [esp + 0x38], esi
mov byte [eax], 0x30
cmp ecx, ebp
jl 0x4b0700
test dh, dh
je 0x4b075b
mov ecx, dword [esp + 0x78]
cmp cx, 8
je 0x4b073e
cmp cx, 0x10
jne 0x4b075b
push 0
lea ecx, [esp + 0x38]
call fcn.004577a0
mov byte [eax], 0x78
push 0
lea ecx, [esp + 0x38]
call fcn.004577a0
mov dl, byte [esp + 0x8c]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov byte [eax], 0x30
cmp dl, 0x30
je 0x4b0787
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x4b0787
nop dword [eax + eax]
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x4b0826
mov eax, esi
mov esi, ecx
sub ecx, edi
mov byte [eax], dl
cmp ecx, ebp
jl 0x4b0770
mov ecx, dword [esp + 0x80]
lea edx, [esi - 1]
mov eax, esi
sub eax, edi
mov dword [ecx], eax
cmp edx, ebx
ja 0x4b07f2
mov byte [esi], 0
cmp edi, edx
jae 0x4b07c0
lea esi, [edx - 1]
mov ah, byte [edx]
cmp esi, ebx
ja 0x4b0840
mov al, byte [edi]
mov ecx, edx
dec esi
mov byte [ecx], al
lea edx, [ecx - 1]
mov byte [edi], ah
inc edi
cmp edi, edx
jb 0x4b07a5
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
pop ebp
mov byte [eax], 0
xor al, al
add esp, 0x5c
ret
push 0
lea ecx, [esp + 0x44]
call fcn.004a65d0
push 0x66bdf0
lea eax, [esp + 0x44]
push eax
call fcn.004ce015
push 0
lea ecx, [esp + 0x44]
call fcn.004a65d0
push 0x66bdf0
lea eax, [esp + 0x44]
push eax
call fcn.004ce015
push 0
lea ecx, [esp + 0x44]
call fcn.004a65d0
push 0x66bdf0
lea eax, [esp + 0x44]
push eax
call fcn.004ce015
push 0
lea ecx, [esp + 0x44]
call fcn.004a65d0
push 0x66bdf0
lea eax, [esp + 0x44]
push eax
call fcn.004ce015
push 0
lea ecx, [esp + 0x44]
call fcn.004a65d0
push 0x66bdf0
lea eax, [esp + 0x44]
push eax
call fcn.004ce015
push 0
lea ecx, [esp + 0x44]
call fcn.004a65d0
push 0x66bdf0
lea eax, [esp + 0x44]
push eax
call fcn.004ce015
int3