Function at 0x4b3af0
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 0x4b3cea
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.004c5110
mov dword [esp + 0x1c], edx
lea edx, [esi + 1]
mov dword [esp + 0x18], eax
cmp edx, ebx
ja 0x4b3d7a
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 + 0x658aff]
mov byte [ecx], al
mov ecx, dword [esp + 0x78]
je 0x4b3bcb
cmp cx, 0xa
jne 0x4b3bcb
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 3
jne 0x4b3bc7
lea eax, [edx + 1]
cmp eax, ebx
ja 0x4b3cf8
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 0x4b3be6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
jmp 0x4b3b40
mov dl, byte [esp + 0x8c]
mov dh, byte [esp + 0x84]
cmp dl, 0x30
jne 0x4b3c3c
test dh, dh
je 0x4b3c11
cmp cx, 8
jne 0x4b3c06
dec ebp
jmp 0x4b3c11
mov eax, ebp
cmp cx, 0x10
jne 0x4b3c11
lea ebp, [eax - 2]
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x4b3c3c
nop dword [eax]
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x4b3d2c
mov eax, esi
mov esi, ecx
sub ecx, edi
mov dword [esp + 0x38], esi
mov byte [eax], 0x30
cmp ecx, ebp
jl 0x4b3c20
test dh, dh
je 0x4b3c7b
mov ecx, dword [esp + 0x78]
cmp cx, 8
je 0x4b3c5e
cmp cx, 0x10
jne 0x4b3c7b
push 0
lea ecx, [esp + 0x38]
call fcn.0046fa00
mov byte [eax], 0x78
push 0
lea ecx, [esp + 0x38]
call fcn.0046fa00
mov dl, byte [esp + 0x8c]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov byte [eax], 0x30
cmp dl, 0x30
je 0x4b3ca7
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x4b3ca7
nop dword [eax + eax]
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x4b3d46
mov eax, esi
mov esi, ecx
sub ecx, edi
mov byte [eax], dl
cmp ecx, ebp
jl 0x4b3c90
mov ecx, dword [esp + 0x80]
lea edx, [esi - 1]
mov eax, esi
sub eax, edi
mov dword [ecx], eax
cmp edx, ebx
ja 0x4b3d12
mov byte [esi], 0
cmp edi, edx
jae 0x4b3ce0
lea esi, [edx - 1]
mov ah, byte [edx]
cmp esi, ebx
ja 0x4b3d60
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 0x4b3cc5
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.004aa4b0
push 0x66f008
lea eax, [esp + 0x44]
push eax
call fcn.004cf8ea
push 0
lea ecx, [esp + 0x44]
call fcn.004aa4b0
push 0x66f008
lea eax, [esp + 0x44]
push eax
call fcn.004cf8ea
push 0
lea ecx, [esp + 0x44]
call fcn.004aa4b0
push 0x66f008
lea eax, [esp + 0x44]
push eax
call fcn.004cf8ea
push 0
lea ecx, [esp + 0x44]
call fcn.004aa4b0
push 0x66f008
lea eax, [esp + 0x44]
push eax
call fcn.004cf8ea
push 0
lea ecx, [esp + 0x44]
call fcn.004aa4b0
push 0x66f008
lea eax, [esp + 0x44]
push eax
call fcn.004cf8ea
push 0
lea ecx, [esp + 0x44]
call fcn.004aa4b0
push 0x66f008
lea eax, [esp + 0x44]
push eax
call fcn.004cf8ea
int3