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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x5c
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ebx, dword [0x573be4]
lea edx, [ebx + edi*2]
mov ecx, ebp
shl ecx, 9
lea ecx, [ecx + ebp*4]
lea edx, [edx + ecx + 0x204]
mov ecx, ebp
shl ecx, 8
lea ebx, [ebx + edi*4]
add ecx, dword [esp + 0x70]
lea ecx, [ecx + ecx*2]
mov edi, ebp
add ecx, dword [0x573be4]
shl edi, 0xa
lea ebp, [edi + ebp*4]
lea ebx, [ebx + ebp + 0x404]
shl esi, 5
mov dword [esp + 4], ebx
mov ebx, dword [0x574014]
lea ebp, [ebx + esi]
lea ebx, [ebx + esi + 0x10]
sar eax, 2
mov dword [esp + 8], ebx
mov ebx, 8
and eax, 7
mov dword [esp + 0xc], ebx
cmp eax, 4
jge 0x4bf272
add eax, 4
shl eax, 4
movzx eax, al
xor ebx, ebx
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x7c]
mov edi, esi
mov dword [esp + 0x1c], ebx
and edi, 0x40
mov dword [esp + 0x10], edi
and esi, 0x80
mov dword [esp + 0x14], esi
add eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jmp 0x4bf2b5
inc dword [esp + 0x1c]
dec dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 0xc]
movzx eax, dl
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x4bf490
mov edx, 0x80
mov edi, dword [esp + 0x34]
lea eax, [edi + 1]
mov dword [esp + 0x24], edx
movzx edx, byte [edi]
add edi, 2
mov dword [esp + 0x34], edi
movzx eax, byte [eax]
mov ebp, dword [esp + 8]
movzx esi, byte [ebp]
lea ebx, [ebp + 1]
add ebp, 2
mov dword [esp + 0x20], esi
movzx ebx, byte [ebx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ebp
movzx ecx, cl
mov dword [esp + 0x2c], ecx
neg ecx
add ecx, 7
movzx ecx, cl
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
nop
lea esi, [esi]
test edx, edx
jle 0x4bf2ad
xor eax, eax
mov ebx, dword [esp + 0x48]
test edx, ebx
je 0x4bf347
mov eax, 1
mov ebx, dword [esp + 0x44]
test ebx, edx
je 0x4bf352
add eax, 2
mov ebx, dword [esp + 0x20]
test ebx, edx
je 0x4bf35d
add eax, 4
mov ebx, dword [esp + 0x40]
test ebx, edx
je 0x4bf36b
add eax, 8
movzx eax, al
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 0x50], ebx
je 0x4bf38e
movzx ebx, cl
neg ebx
add ebx, 7
movzx ebx, bl
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4bf39e
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x50], ebx
movzx ebx, al
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ebx*2 + 0x6d4de0]
test ebx, ebx
jne 0x4bf3b8
movzx eax, word [0x6d4de0]
mov ebx, dword [esp + 0x2c]
cmp ebx, 0x28
jl 0x4bf3e1
cmp ebx, 0xb8
jge 0x4bf3e1
movzx ebx, cl
cmp ebx, 0x30
mov dword [esp + 0x4c], ebx
jl 0x4bf3e1
cmp ebx, 0xd0
jl 0x4bf479
mov ebx, dword [0x56a020]
cmp ebx, 0x10
je 0x4bf450
cmp ebx, 0x18
jne 0x4bf420
mov ebx, dword [esp + 0x54]
movzx ebx, bl
lea ebp, [ebx + ebx*2]
add ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x50]
movzx ebx, bl
mov esi, ebx
shl esi, 8
shl ebx, 9
add esi, ebx
mov eax, dword [eax*4 + 0x575b60]
mov dword [esi + ebp], eax
jmp 0x4bf479
cmp ebx, 0x20
jne 0x4bf479
mov ebx, dword [esp + 0x54]
movzx ebx, bl
mov esi, dword [esp + 4]
lea ebp, [esi + ebx*4]
mov ebx, dword [esp + 0x50]
movzx ebx, bl
mov edi, ebx
shl edi, 0xa
lea ebx, [edi + ebx*4]
mov eax, dword [eax*4 + 0x575b60]
mov dword [ebx + ebp], eax
jmp 0x4bf479
mov ebx, dword [esp + 0x54]
movzx ebx, bl
mov esi, dword [esp + 0x3c]
lea ebp, [esi + ebx*2]
mov ebx, dword [esp + 0x50]
movzx ebx, bl
mov edi, ebx
shl edi, 9
lea ebx, [edi + ebx*4]
movzx eax, word [eax*2 + 0x5b5b60]
mov word [ebx + ebp], ax
shr edx, 1
inc ecx
jmp 0x4bf330
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret