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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 2], cx
mov ebx, eax
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [edi], 0xffffffff
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
cmp dword [ebx], 0
je 0x4b0931
mov eax, dword [ebx]
cmp ebx, dword [eax + 0xe0]
jne 0x4b0931
mov eax, dword [ebx]
mov eax, dword [eax + 0x70]
cmp eax, dword [ebp + 0x34]
jne 0x4b0931
cmp byte [ebp + 0x2c], 0
jne 0x4b0931
cmp dword [ebp - 0x24], 0
je 0x4b0931
mov eax, dword [ebx]
mov eax, dword [eax + 0x84]
xor edx, edx
push edx
push eax
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
call fcn.00405158
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x24]
cdq
call fcn.00405158
cmp edx, dword [esp + 4]
jne 0x4b05fe
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4b0931
jmp 0x4b0606
pop edx
pop eax
jl 0x4b0931
mov dword [ebp - 8], 0x8005
jmp 0x4b1053
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp byte [edx + eax*8 + 0x2a], 0
je 0x4b0629
inc esi
jmp 0x4b0931
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + eax*8 + 0x18]
cmp eax, dword [ebp + 0x34]
jg 0x4b093a
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + eax*8 + 0x18]
cmp eax, dword [ebp + 0x34]
jge 0x4b065c
mov dword [ebp - 0x10], 0xffffffff
jmp 0x4b0692
movzx eax, byte [ebp + 0x2c]
push eax
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
movzx ecx, byte [edx + eax*8 + 0x28]
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + eax*8]
mov edx, dword [ebp + 0x30]
call fcn.004adcc4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4b093a
cmp dword [ebp - 0x10], 0
jge 0x4b06c2
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp dword [edx + eax*8 + 0x20], 1
jle 0x4b06bc
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
add esi, dword [edx + eax*8 + 0x20]
jmp 0x4b0931
inc esi
jmp 0x4b0931
cmp byte [ebp + 0xc], 0
je 0x4b06dd
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4b1053
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8 + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [ebp + 0x28]
jne 0x4b0768
cmp eax, dword [ebp + 0x24]
jne 0x4b0768
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea edx, [edx + eax*8 + 0xc]
lea eax, [ebp - 0x2c]
call fcn.004aeeac
test al, al
je 0x4b0768
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
movzx eax, word [edx + eax*8 + 0x1c]
cmp ax, word [ebp + 0x3c]
jne 0x4b0768
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp dword [edx + eax*8 + 0x64], 0
je 0x4b0753
cmp dword [ebp + 0x20], 0
je 0x4b0753
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + eax*8 + 0x60]
cmp eax, dword [ebp + 0x1c]
jne 0x4b0768
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4b1053
cmp dword [ebp + 0x28], 0
jne 0x4b0854
cmp dword [ebp + 0x24], 0
jne 0x4b0854
cmp dword [ebp + 0x20], 0
je 0x4b07ab
mov eax, dword [ebp + 0x20]
test byte [eax + 8], 1
je 0x4b07ab
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp dword [edx + eax*8 + 8], 0
jne 0x4b0854
cmp dword [edx + eax*8 + 4], 0
jne 0x4b0854
cmp byte [ebp + 0x40], 0
jne 0x4b082a
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp dword [edx + eax*8 + 0x30], 0
jne 0x4b082a
cmp dword [edx + eax*8 + 0x2c], 0
jne 0x4b082a
cmp dword [ebp + 0x20], 0
je 0x4b082a
mov eax, dword [ebp + 0x20]
test byte [eax + 8], 1
je 0x4b0814
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp edx, 0
jne 0x4b093a
cmp eax, 0
jne 0x4b093a
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp byte [edx + eax*8 + 0x44], 0
je 0x4b093a
mov eax, dword [ebp + 0x20]
test byte [eax + 8], 1
jne 0x4b082a
mov eax, dword [ebp + 0x20]
cmp dword [eax + 0x10], 0
jne 0x4b093a
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp dword [edx + eax*8 + 0x20], 1
jle 0x4b084e
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
add esi, dword [edx + eax*8 + 0x20]
jmp 0x4b0931
inc esi
jmp 0x4b0931
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp byte [edx + eax*8 + 0x44], 0
jne 0x4b092d
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp byte [edx + eax*8 + 0x29], 0
jne 0x4b0909
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp dword [edx + eax*8 + 0x64], 0
jne 0x4b0909
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x44], 1
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x6c], ecx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x78], 0
mov dword [edx + eax*8 + 0x7c], 0
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x74], 0
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x70], ecx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x80], 0
mov dword [edx + eax*8 + 0x84], 0
jmp 0x4b092d
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp dword [edx + eax*8 + 0x20], 1
jle 0x4b092a
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
add esi, dword [edx + eax*8 + 0x20]
jmp 0x4b0931
inc esi
jmp 0x4b0931
mov dword [edi], esi
jmp 0x4b093a
cmp esi, dword [ebx + 0x24]
jl 0x4b0612
cmp dword [edi], 0xffffffff
je 0x4b097e
jmp 0x4b0942
inc esi
cmp esi, dword [ebx + 0x24]
jge 0x4b097e
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + eax*8 + 0x20]
add eax, dword [edi]
cmp esi, eax
jge 0x4b097e
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8 + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [ebp + 0x28]
jne 0x4b097c
cmp eax, dword [ebp + 0x24]
jbe 0x4b0941
jmp 0x4b097e
jle 0x4b0941
cmp dword [edi], 0xffffffff
je 0x4b09fe
cmp dword [ebx], 0
je 0x4b09fe
mov eax, dword [ebx]
cmp ebx, dword [eax + 0xe0]
jne 0x4b09fe
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8]
mov edx, dword [ebx]
cmp eax, dword [edx + 0xf0]
jne 0x4b09fe
cmp dword [ebp - 0x24], 0
je 0x4b09fe
mov eax, dword [ebx]
mov eax, dword [eax + 0x84]
xor edx, edx
push edx
push eax
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
call fcn.00405158
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x24]
cdq
call fcn.00405158
cmp edx, dword [esp + 4]
jne 0x4b09ee
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4b09fe
jmp 0x4b09f2
pop edx
pop eax
jl 0x4b09fe
mov dword [ebp - 8], 0x8005
jmp 0x4b1053
cmp dword [edi], 0xffffffff
je 0x4b0a99
cmp esi, dword [edi]
jle 0x4b0a99
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8 - 0x84]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [ebp + 0x28]
jne 0x4b0a31
cmp eax, dword [ebp + 0x24]
jae 0x4b0a8d
jmp 0x4b0a33
jge 0x4b0a8d
mov eax, esi
sub eax, dword [edi]
dec eax
mov edx, dword [edi]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [ebx + 0x28]
cmp eax, dword [ecx + edx*8 + 0x68]
jge 0x4b0a99
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8 - 0x84]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8 - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, dword [ebp + 0x28]
jne 0x4b0a8b
cmp eax, dword [ebp + 0x24]
jbe 0x4b0a99
jmp 0x4b0a8d
jle 0x4b0a99
mov dword [ebp - 8], 0x8005
jmp 0x4b1053
mov byte [ebp - 0x15], 0
cmp dword [edi], 0xffffffff
jne 0x4b0aa8
cmp byte [ebp + 0x2c], 0
jne 0x4b0aaf
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4b0ad0
movzx eax, byte [ebp + 0x2c]
add eax, eax
call fcn.0040d7d8
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp + 0x2c]
mov ecx, eax
add ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x30]
call fcn.00402da0
mov eax, dword [ebx + 0x24]
and eax, 0x80000007
jns 0x4b0adf
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
jne 0x4b0b14
mov eax, dword [ebx + 0x24]
add eax, 8
imul edx, eax, 0x88
lea eax, [ebx + 0x28]
call fcn.0040d7f8
cmp dword [ebx], 0
je 0x4b0b14
mov eax, dword [ebx]
cmp ebx, dword [eax + 0xe0]
jne 0x4b0b14
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xf0], edx
mov byte [ebp - 0x15], 1
cmp esi, dword [ebx + 0x24]
jge 0x4b0bbe
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea edx, [edx + eax*8 + 0x88]
mov eax, esi
shl eax, 4
add eax, esi
mov ecx, dword [ebx + 0x28]
lea eax, [ecx + eax*8]
mov ecx, dword [ebx + 0x24]
sub ecx, esi
imul ecx, ecx, 0x88
call fcn.00402da0
cmp dword [edi], 0xffffffff
je 0x4b0b7e
cmp esi, dword [edi]
jg 0x4b0b58
inc dword [edi]
jmp 0x4b0b7e
mov eax, esi
sub eax, dword [edi]
mov edx, dword [edi]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [ebx + 0x28]
cmp eax, dword [ecx + edx*8 + 0x68]
jge 0x4b0b7e
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
inc dword [edx + eax*8 + 0x68]
cmp dword [ebx], 0
je 0x4b0bbe
mov eax, dword [ebx]
cmp ebx, dword [eax + 0xe0]
jne 0x4b0bbe
cmp byte [ebp - 0x15], 0
jne 0x4b0b9e
mov eax, dword [ebx]
cmp dword [eax + 0xf0], 0
je 0x4b0bbe
mov eax, dword [ebx]
cmp esi, dword [eax + 0xf4]
jg 0x4b0bbe
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xf0], edx
mov eax, dword [ebx]
inc dword [eax + 0xf4]
mov byte [ebp - 0x15], 1
inc dword [ebx + 0x24]
mov edx, esi
shl edx, 4
add edx, esi
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp + 0x34]
mov dword [eax + edx*8 + 0x18], ecx
mov edx, esi
shl edx, 4
add edx, esi
movzx ecx, byte [ebp + 0x2c]
mov byte [eax + edx*8 + 0x28], cl
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [ebp + 0x24]
mov dword [eax + edx*8 + 4], ecx
mov ecx, dword [ebp + 0x28]
mov dword [eax + edx*8 + 8], ecx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x29], 0
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
movzx ecx, byte [ebp + 0x40]
mov byte [edx + eax*8 + 0x2b], cl
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax*8 + 0xc], ecx
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*8 + 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*8 + 0x14], ecx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
movzx ecx, word [ebp + 0x3c]
mov word [edx + eax*8 + 0x1c], cx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebp + 0x38]
mov dword [edx + eax*8 + 0x24], ecx
cmp dword [edi], 0xffffffff
je 0x4b0c7d
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + eax*8]
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [ebx + 0x28]
mov dword [ecx + edx*8], eax
jmp 0x4b0c8d
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*8], ecx
cmp dword [edi], 0xffffffff
je 0x4b0d5f
cmp esi, dword [edi]
jg 0x4b0d5f
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + eax*8 + 0x20]
inc eax
mov edx, esi
shl edx, 4
add edx, esi
mov ecx, dword [ebx + 0x28]
mov dword [ecx + edx*8 + 0x20], eax
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x2a], 0
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x2a], 1
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x20], ecx
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x68], ecx
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x29], 0
cmp dword [ebx], 0
je 0x4b0d5b
mov eax, dword [ebx]
cmp ebx, dword [eax + 0xe0]
jne 0x4b0d5b
mov eax, dword [ebx]
mov eax, dword [eax + 0xf4]
cmp eax, dword [edi]
je 0x4b0d37
mov eax, dword [ebx]
cmp esi, dword [eax + 0xf4]
jne 0x4b0d5b
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0xf0], edx
mov eax, dword [ebx]
mov dword [eax + 0xf4], 0xffffffff
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x100], edx
mov byte [ebp - 0x15], 0
mov dword [edi], esi
jmp 0x4b0dbb
cmp dword [edi], 0xffffffff
je 0x4b0d74
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
inc dword [edx + eax*8 + 0x20]
cmp dword [edi], 0xffffffff
je 0x4b0d9a
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x2a], 1
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x20], ecx
jmp 0x4b0dbb
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x2a], 0
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x20], 1
cmp byte [ebp - 0x15], 0
je 0x4b0dc8
mov eax, dword [ebx]
call fcn.004b0460
cmp dword [edi], 0xffffffff
jne 0x4b0df9
cmp dword [ebp + 0x28], 0
jne 0x4b0df9
cmp dword [ebp + 0x24], 0
jne 0x4b0df9
cmp dword [ebp + 0x20], 0
je 0x4b0de8
mov eax, dword [ebp + 0x20]
test byte [eax + 8], 1
jne 0x4b0df9
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x44], 0
jmp 0x4b0e4e
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x44], 1
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x6c], ecx
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x78], 0
mov dword [edx + eax*8 + 0x7c], 0
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x74], 0
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x70], ecx
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x80], 0
mov dword [edx + eax*8 + 0x84], 0
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x68], ecx
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x5c], ecx
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x60], ecx
mov edx, dword [ebx + 0x28]
xor ecx, ecx
mov dword [edx + eax*8 + 0x64], ecx
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x2c], 0
mov dword [edx + eax*8 + 0x30], 0
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x34], 0
mov dword [edx + eax*8 + 0x38], 0
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x3c], 0
mov dword [edx + eax*8 + 0x40], 0
mov edx, dword [ebx + 0x28]
mov word [edx + eax*8 + 0x46], 0
mov edx, dword [ebx + 0x28]
mov word [edx + eax*8 + 0x48], 0
mov edx, dword [ebx + 0x28]
mov word [edx + eax*8 + 0x4a], 0
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x4c], 0
mov dword [edx + eax*8 + 0x50], 0
mov edx, dword [ebx + 0x28]
mov dword [edx + eax*8 + 0x54], 0xffffffff
mov dword [edx + eax*8 + 0x58], 0xffffffff
cmp dword [ebp + 0x20], 0
je 0x4b0f11
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
call fcn.004b0274
cmp dword [edi], 0xffffffff
je 0x4b1049
mov eax, esi
sub eax, dword [edi]
mov edx, dword [edi]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [ebx + 0x28]
cmp eax, dword [ecx + edx*8 + 0x68]
jge 0x4b1049
cmp esi, dword [edi]
jle 0x4b0fb5
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8 - 0x84]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
lea eax, [edx + eax*8 - 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, dword [ebp + 0x28]
jne 0x4b0fb5
cmp eax, dword [ebp + 0x24]
jne 0x4b0fb5
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
cmp byte [edx + eax*8 - 0x14], 0
je 0x4b0fb5
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 - 0x14], 0
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
dec dword [edx + eax*8 - 0x18]
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
dec dword [edx + eax*8 + 0x6c]
mov eax, esi
sub eax, dword [edi]
inc eax
mov edx, dword [edi]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [ebx + 0x28]
cmp eax, dword [ecx + edx*8 + 0x68]
jge 0x4b0ff9
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov byte [edx + eax*8 + 0x74], 1
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
inc dword [edx + eax*8 + 0x70]
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
inc dword [edx + eax*8 + 0x6c]
cmp esi, dword [edi]
jne 0x4b1049
cmp dword [ebp + 0x28], 0
jne 0x4b100b
cmp dword [ebp + 0x24], 0
jbe 0x4b1049
jmp 0x4b100d
jle 0x4b1049
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [edx + eax*8 + 0x80], ecx
mov ecx, dword [ebp + 0x28]
mov dword [edx + eax*8 + 0x84], ecx
mov eax, esi
shl eax, 4
add eax, esi
mov edx, dword [ebx + 0x28]
inc dword [edx + eax*8 + 0x70]
mov eax, dword [edi]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebx + 0x28]
inc dword [edx + eax*8 + 0x6c]
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c