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

Disassembly:
sub esp, 0x1e4
mov eax, dword [0xd5f68c]
push ebp
push edi
xor edi, edi
cmp eax, edi
mov ebp, eax
mov dword [esp + 0x34], ebp
je 0x4b0b3c
lea edx, [eax + 0xd68]
movzx eax, byte [edx]
push ebx
push esi
mov esi, 0x1e
sub esi, eax
cmp esi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], edi
jle 0x4b0a7d
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
movzx eax, byte [ecx]
add eax, edi
lea edx, [eax + eax*4]
mov al, byte [ebp + edx*4 + 0xb18]
test al, al
lea ecx, [ebp + edx*4 + 0xb08]
mov dword [esp + 0x2c], ecx
je 0x4b0a57
xor edx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edx
movzx ebp, byte [ecx]
movzx esi, byte [ecx + 0xb]
mov eax, edx
imul eax, eax, 0x6c
lea edi, [esp + eax + 0x44]
movzx eax, byte [ecx + 0xa]
add eax, edx
dec ebp
cmp eax, esi
jg 0x4b0a3d
movzx ecx, byte [ecx + 0xd]
dec eax
cdq
idiv ecx
mov ecx, dword [0x8efbb8]
mov ebx, edx
xor edx, edx
mov dl, byte [ecx + 0x17e3f]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], eax
push edx
call fcn.004a0110
movzx esi, al
add esi, dword [esp + 0x38]
push esi
push 0
push ebx
push ebp
call fcn.0046f0f0
push esi
mov bl, al
mov eax, dword [esp + 0x58]
push 1
push eax
push ebp
mov byte [edi], bl
call fcn.0046f0f0
push ebx
mov byte [esp + 0x60], al
mov byte [edi + 0x34], al
call fcn.00471a40
mov ecx, dword [esp + 0x60]
push ecx
mov byte [esp + 0x42], al
mov byte [edi + 2], al
call fcn.00471a40
push ebp
push ebx
mov byte [esp + 0x4b], al
mov byte [edi + 0x36], al
call fcn.0046fe50
add esp, 0x34
test eax, eax
jne 0x4b0a35
cmp dword [esp + 0x24], 0xffffffff
jne 0x4b0a0d
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov al, byte [esp + 0x16]
test al, al
jne 0x4b0a1d
mov al, byte [esp + 0x17]
test al, al
je 0x4b0a35
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 4
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
inc edx
cmp edx, 4
mov dword [esp + 0x18], edx
jl 0x4b0963
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
inc edi
cmp edi, esi
mov dword [esp + 0x1c], edi
jl 0x4b0933
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b0a79
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x4b0a79
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x28]
mov al, byte [edx]
mov cl, byte [esp + 0x20]
add al, cl
mov byte [edx], al
mov bl, al
mov eax, 2
lea ecx, [ebp + 0xb2c]
cmp byte [ecx - 0x14], 1
jne 0x4b0aa1
lea esi, [eax - 2]
mov dword [esp + 0x10], esi
cmp byte [ecx], 1
jne 0x4b0aad
lea esi, [eax - 1]
mov dword [esp + 0x10], esi
cmp byte [ecx + 0x14], 1
jne 0x4b0ab7
mov dword [esp + 0x10], eax
cmp byte [ecx + 0x28], 1
jne 0x4b0ac4
lea esi, [eax + 1]
mov dword [esp + 0x10], esi
cmp byte [ecx + 0x3c], 1
jne 0x4b0ad1
lea esi, [eax + 2]
mov dword [esp + 0x10], esi
cmp byte [ecx + 0x50], 1
jne 0x4b0ade
lea esi, [eax + 3]
mov dword [esp + 0x10], esi
cmp byte [ecx + 0x64], 1
jne 0x4b0aeb
lea esi, [eax + 4]
mov dword [esp + 0x10], esi
cmp byte [ecx + 0x78], 1
jne 0x4b0af8
lea esi, [eax + 5]
mov dword [esp + 0x10], esi
cmp byte [ecx + 0x8c], 1
jne 0x4b0b08
lea esi, [eax + 6]
mov dword [esp + 0x10], esi
cmp byte [ecx + 0xa0], 1
jne 0x4b0b18
lea esi, [eax + 7]
mov dword [esp + 0x10], esi
add eax, 0xa
lea esi, [eax - 2]
add ecx, 0xc8
cmp esi, 0x1e
jl 0x4b0a94
mov eax, dword [esp + 0x10]
movzx ecx, bl
cmp ecx, eax
pop esi
pop ebx
jle 0x4b0b3c
mov byte [edx], al
pop edi
pop ebp
add esp, 0x1e4
ret
sub esp, 0xc
push ebx
push ebp
push edi
mov edi, dword [0xd5f68c]
test edi, edi
mov ebx, edi
mov dword [esp + 0x10], ebx
je 0x4b0ec2
mov eax, dword [edi + 0xd60]
test eax, eax
push esi
lea esi, [edi + 0xd60]
je 0x4b0eb6
jle 0x4b0c2a
cmp eax, 2
jg 0x4b0c2a
mov eax, dword [0x8efbb8]
movzx eax, byte [eax + 0x17e3d]
mov edx, dword [0x8efbb4]
lea ecx, [eax + eax*4]
movzx esi, byte [edx + ecx*4 + 0xad1]
lea eax, [edx + ecx*4]
movzx eax, byte [eax + 0xad2]
push eax
push esi
call fcn.004b0850
add esp, 8
or ebp, 0xffffffff
or ebx, 0xffffffff
mov byte [esp + 0x13], al
xor ecx, ecx
lea edx, [edi + 0xb18]
mov al, byte [edx]
cmp al, 1
jne 0x4b0be0
cmp ebp, 0xffffffff
mov ebx, ecx
jne 0x4b0be0
mov ebp, ecx
movzx edi, byte [edx - 0x10]
cmp edi, esi
jne 0x4b0bfc
cmp al, 1
jne 0x4b0bfa
mov al, byte [esp + 0x13]
cmp byte [edx - 6], al
ja 0x4b0bfa
cmp al, byte [edx - 5]
jbe 0x4b0c0a
cmp edi, esi
jg 0x4b0c09
inc ecx
add edx, 0x14
cmp ecx, 0x1e
jl 0x4b0bd1
jmp 0x4b0c0a
dec ecx
cmp ecx, ebp
jge 0x4b0c10
mov ecx, ebp
cmp ecx, ebx
jle 0x4b0c16
mov ecx, ebx
mov edx, dword [0xd5f68c]
pop esi
pop edi
pop ebp
mov byte [edx + 0xd68], cl
pop ebx
add esp, 0xc
ret
mov eax, dword [0x8efbb8]
xor ecx, ecx
mov cl, byte [eax + 0x17e3f]
push ecx
call fcn.004a0110
movzx eax, al
push eax
call fcn.0047ef40
movzx ebp, byte [eax + 1]
movzx edx, byte [eax + 6]
add esp, 8
cmp ebp, edx
jle 0x4b0c5a
mov ebp, 1
mov esi, dword [esi]
cmp esi, 3
mov dword [esp + 0x18], esi
jne 0x4b0c66
inc ebp
test ebp, ebp
jne 0x4b0c6f
mov ebp, 1
mov eax, dword [esp + 0x14]
or edx, 0xffffffff
or esi, 0xffffffff
xor ebx, ebx
add eax, 0xb18
mov cl, byte [eax]
cmp cl, 1
jne 0x4b0c8e
cmp edx, 0xffffffff
jne 0x4b0c8e
mov edx, ebx
movzx edi, byte [eax - 0x10]
cmp edi, ebp
jne 0x4b0c9f
cmp cl, 1
je 0x4b0e07
mov cl, byte [eax + 0x14]
cmp cl, 1
jne 0x4b0caf
cmp edx, 0xffffffff
jne 0x4b0caf
lea edx, [ebx + 1]
movzx edi, byte [eax + 4]
cmp edi, ebp
jne 0x4b0cc0
cmp cl, 1
je 0x4b0dde
mov cl, byte [eax + 0x28]
cmp cl, 1
jne 0x4b0cd0
cmp edx, 0xffffffff
jne 0x4b0cd0
lea edx, [ebx + 2]
movzx edi, byte [eax + 0x18]
cmp edi, ebp
jne 0x4b0ce1
cmp cl, 1
je 0x4b0de1
mov cl, byte [eax + 0x3c]
cmp cl, 1
jne 0x4b0cf1
cmp edx, 0xffffffff
jne 0x4b0cf1
lea edx, [ebx + 3]
movzx edi, byte [eax + 0x2c]
cmp edi, ebp
jne 0x4b0d02
cmp cl, 1
je 0x4b0de6
mov cl, byte [eax + 0x50]
cmp cl, 1
jne 0x4b0d12
cmp edx, 0xffffffff
jne 0x4b0d12
lea edx, [ebx + 4]
movzx edi, byte [eax + 0x40]
cmp edi, ebp
jne 0x4b0d23
cmp cl, 1
je 0x4b0deb
mov cl, byte [eax + 0x64]
cmp cl, 1
jne 0x4b0d33
cmp edx, 0xffffffff
jne 0x4b0d33
lea edx, [ebx + 5]
movzx edi, byte [eax + 0x54]
cmp edi, ebp
jne 0x4b0d44
cmp cl, 1
je 0x4b0df0
mov cl, byte [eax + 0x78]
cmp cl, 1
jne 0x4b0d54
cmp edx, 0xffffffff
jne 0x4b0d54
lea edx, [ebx + 6]
movzx edi, byte [eax + 0x68]
cmp edi, ebp
jne 0x4b0d65
cmp cl, 1
je 0x4b0df5
mov cl, byte [eax + 0x8c]
cmp cl, 1
jne 0x4b0d78
cmp edx, 0xffffffff
jne 0x4b0d78
lea edx, [ebx + 7]
movzx edi, byte [eax + 0x7c]
cmp edi, ebp
jne 0x4b0d85
cmp cl, 1
je 0x4b0dfa
mov cl, byte [eax + 0xa0]
cmp cl, 1
jne 0x4b0d98
cmp edx, 0xffffffff
jne 0x4b0d98
lea edx, [ebx + 8]
movzx edi, byte [eax + 0x90]
cmp edi, ebp
jne 0x4b0da8
cmp cl, 1
je 0x4b0dff
mov cl, byte [eax + 0xb4]
cmp cl, 1
jne 0x4b0dbb
cmp edx, 0xffffffff
jne 0x4b0dbb
lea edx, [ebx + 9]
movzx edi, byte [eax + 0xa4]
cmp edi, ebp
jne 0x4b0dcb
cmp cl, 1
je 0x4b0e04
add ebx, 0xa
add eax, 0xc8
cmp ebx, 0x1e
jl 0x4b0c80
jmp 0x4b0e07
inc ebx
jmp 0x4b0e07
add ebx, 2
jmp 0x4b0e07
add ebx, 3
jmp 0x4b0e07
add ebx, 4
jmp 0x4b0e07
add ebx, 5
jmp 0x4b0e07
add ebx, 6
jmp 0x4b0e07
add ebx, 7
jmp 0x4b0e07
add ebx, 8
jmp 0x4b0e07
add ebx, 9
mov edi, dword [esp + 0x14]
mov eax, 2
lea ecx, [edi + 0xb2c]
cmp byte [ecx - 0x14], 1
jne 0x4b0e1f
lea esi, [eax - 2]
cmp byte [ecx], 1
jne 0x4b0e27
lea esi, [eax - 1]
cmp byte [ecx + 0x14], 1
jne 0x4b0e2f
mov esi, eax
cmp byte [ecx + 0x28], 1
jne 0x4b0e38
lea esi, [eax + 1]
cmp byte [ecx + 0x3c], 1
jne 0x4b0e41
lea esi, [eax + 2]
cmp byte [ecx + 0x50], 1
jne 0x4b0e4a
lea esi, [eax + 3]
cmp byte [ecx + 0x64], 1
jne 0x4b0e53
lea esi, [eax + 4]
cmp byte [ecx + 0x78], 1
jne 0x4b0e5c
lea esi, [eax + 5]
cmp byte [ecx + 0x8c], 1
jne 0x4b0e68
lea esi, [eax + 6]
cmp byte [ecx + 0xa0], 1
jne 0x4b0e74
lea esi, [eax + 7]
add eax, 0xa
lea ebp, [eax - 2]
add ecx, 0xc8
cmp ebp, 0x1e
jl 0x4b0e16
cmp ebx, edx
jge 0x4b0e8b
mov ebx, edx
cmp ebx, esi
jle 0x4b0e91
mov ebx, esi
mov eax, dword [esp + 0x18]
cmp eax, 4
mov byte [edi + 0xd68], bl
je 0x4b0eaa
cmp eax, 5
je 0x4b0eaa
cmp eax, 6
jne 0x4b0ec1
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
jmp 0x4b08e0
call fcn.00484780
mov byte [ebx + 0xd68], al
pop esi
pop edi
pop ebp
pop ebx
add esp, 0xc
ret