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

Disassembly:
mov eax, 0x74
call fcn.0054b0c1
mov eax, dword [0x101a5070]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov ecx, 0x100
push ebx
push ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x84]
push esi
xor esi, esi
mov ebp, ecx
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffb
add ebp, 0xa
push edi
mov edi, dword [eax + 0x80]
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
cmp ecx, dword [eax + 0x4c]
jl 0x4b38ce
and ebp, 3
cmp dword [edi + 0x18], esi
jl 0x4b38d6
and ebp, 0xfffffffc
test dword [edi + 0x14], ebp
je 0x4b38ed
mov eax, dword [edi + 4]
push eax
call fcn.004a4661
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x4b38f1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x2c]
jge 0x4b3ad3
mov eax, dword [edi + 4]
push esi
push eax
call fcn.004a4671
mov ebx, eax
movzx ecx, byte [ebx]
mov edx, 1
shl edx, cl
add esp, 8
test ebp, edx
je 0x4b3a59
cmp ecx, dword [esp + 0x20]
je 0x4b3943
movzx eax, byte [ebx + 2]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
movzx eax, byte [eax + edx]
mov dword [esp + 0x10], 0x100
mov dword [esp + 0x28], eax
movzx esi, byte [ebx + 1]
cmp esi, dword [esp + 0x34]
je 0x4b39a0
mov ecx, dword [esp + 0x14]
push 0xa4a
push 0x1014be50
push ecx
mov dword [esp + 0x40], esi
call fcn.004a5141
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x48]
push edx
push esi
call fcn.004b37d1
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x4b3a63
mov al, byte [ebx + 2]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
movzx edx, al
movzx edx, byte [ecx + edx]
mov dword [esp + 0x10], 0x100
mov dword [esp + 0x28], edx
jmp 0x4b39bd
mov al, byte [ebx + 2]
test al, al
je 0x4b39bd
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
movzx edx, al
movzx edx, byte [ecx + edx]
cmp edx, dword [esp + 0x28]
jb 0x4b3a59
movzx eax, al
cmp eax, dword [esp + 0x10]
je 0x4b3a06
mov ecx, dword [edi]
mov edx, dword [ecx]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4b3a0a
push 0
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0x4c]
mov ecx, esi
push ecx
push eax
push edx
mov dword [esp + 0x34], esi
call fcn.004aeee1
add esp, 0x18
test eax, eax
je 0x4b3a79
mov eax, dword [esp + 0x24]
cmp eax, dword [ebx + 8]
jne 0x4b3a59
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x1c]
cmp eax, 4
jb 0x4b3a35
lea ebx, [ebx]
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4b3a59
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x4b3a21
test eax, eax
je 0x4b3a83
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x4b3a59
cmp eax, 1
jbe 0x4b3a83
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x4b3a59
cmp eax, 2
jbe 0x4b3a83
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x4b3a83
mov esi, dword [esp + 0x30]
inc esi
jmp 0x4b38f1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005473b5
add esp, 0x74
ret
mov dword [esp + 0x18], 0xffffffff
jmp 0x4b3ad3
mov ecx, dword [esp + 0x20]
mov edx, 1
shl edx, cl
test dl, 0xc
je 0x4b3a9d
mov dword [esp + 0x18], 1
jmp 0x4b3aa3
cmp dword [edi + 0x18], 0
jge 0x4b3ad3
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x8c]
push 0xa7e
push 0x1014be50
push ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], ebx
call fcn.004a5141
mov eax, dword [esp + 0x44]
push eax
mov dword [edi + 0x10], eax
call fcn.004a8671
add esp, 0x10
mov edx, dword [esp + 0x14]
push 0xa87
push 0x1014be50
push edx
call fcn.004a5141
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005473b5
add esp, 0x74
ret