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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 8]
shl edi, 3
lea edi, [edi + edi*8]
add edi, dword [ebp - 4]
add edi, 0x34
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
xor ecx, ecx
mov cl, byte [edi + 0x30]
mov eax, ecx
shl eax, 3
sub eax, ecx
shl eax, 3
add edx, eax
add edx, 4
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x10], ecx
test byte [edi + 3], 2
setne al
and eax, 1
mov dword [ebp - 0x1c], eax
test byte [edi + 2], 0x80
je 0x4b7407
test byte [ebp - 0xa], 0x40
je 0x4b740b
xor edx, edx
jmp 0x4b7410
mov edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x2c]
call fcn.004c76ec
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
call fcn.004c76ec
mov dword [edi + 0x28], eax
mov dword [ebp - 0x38], eax
xor edx, edx
mov dl, byte [edi + 0x30]
test edx, edx
jle 0x4b7463
mov ecx, dword [ebp - 0x30]
test byte [ecx + 0x15], 8
je 0x4b7463
mov esi, dword [ebp - 0x28]
inc dword [esi + 0x48]
xor ecx, ecx
mov eax, dword [esi + 0x48]
mov dword [edi + 0x14], eax
mov edx, dword [edi + 0x14]
push edx
mov edx, 7
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
test byte [edi + 3], 8
je 0x4b75d6
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x44], ecx
mov esi, dword [ebp - 0x44]
mov eax, dword [esi]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x4c], ecx
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
call fcn.004bae88
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
add edx, 2
call fcn.004bcad4
mov dword [ebp - 0x40], eax
mov esi, 1
cmp esi, dword [ebp - 0x48]
jg 0x4b74f9
xor ebx, ebx
cmp ebx, dword [ebp - 0x48]
jge 0x4b74ee
mov eax, dword [ebp - 0x4c]
cmp esi, dword [eax + ebx*8]
jne 0x4b74e8
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + edx*4 + 8]
mov ecx, dword [ebp - 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x40]
add ecx, esi
mov edx, dword [eax + edx*8]
mov eax, dword [ebp - 0x28]
inc ecx
mov edx, dword [edx + 0xc]
call fcn.004bbd50
jmp 0x4b74ee
inc ebx
cmp ebx, dword [ebp - 0x48]
jl 0x4b74b7
cmp ebx, dword [ebp - 0x48]
je 0x4b74f9
inc esi
cmp esi, dword [ebp - 0x48]
jle 0x4b74b0
mov eax, dword [ebp - 0x40]
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x14]
mov edx, 7
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov ecx, dword [ebp - 0x40]
mov edx, 7
inc ecx
push ecx
lea ecx, [esi - 1]
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov eax, dword [ebp - 0x34]
push eax
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x18]
push eax
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x1c], 0
je 0x4b7544
mov ecx, 0xfffffff5
jmp 0x4b7549
mov ecx, 0xfffffffe
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, 0x80
mov eax, dword [ebp - 0x2c]
call fcn.004c763c
mov esi, dword [ebp - 0x44]
xor eax, eax
mov dword [esi + 0x1c], eax
xor esi, esi
cmp esi, dword [ebp - 0x48]
jge 0x4b759e
mov eax, dword [ebp - 0x4c]
cmp byte [eax + esi*8 + 4], 0
je 0x4b7598
mov ecx, dword [ebp - 0x50]
lea edx, [esi + esi*2]
mov eax, dword [ecx + edx*4 + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
shl eax, 3
mov edx, dword [edx + 0x1c]
lea eax, [eax + eax*4]
add edx, eax
mov eax, edi
call fcn.004b6bec
inc esi
cmp esi, dword [ebp - 0x48]
jl 0x4b7569
mov byte [edi + 0x31], 0x83
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x34], edx
mov eax, dword [ebp - 0x2c]
call fcn.004c7844
mov dword [edi + 0x38], eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.004bcaf4
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.004bae8c
jmp 0x4b80dd
test byte [edi + 1], 0x10
je 0x4b765b
mov eax, dword [ebp - 0x28]
call fcn.004bca7c
mov dword [ebp - 0x3c], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.004b39b4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
call fcn.004b6cb4
mov ebx, eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x14], eax
mov ecx, ebx
mov edx, dword [ebp - 0x14]
push edx
mov edx, 0x15
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, 0x34
mov eax, dword [ebp - 0x2c]
call fcn.004c75ac
push ebx
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.004bad94
mov byte [edi + 0x31], 0x89
jmp 0x4b80dd
test byte [edi + 1], 0x20
je 0x4b7850
mov dword [ebp - 0x58], 0x89
xor esi, esi
mov dword [ebp - 0x60], esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x24
push 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.004b39b4
mov dword [ebp - 0x64], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x18
push 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.004b39b4
cmp dword [ebp - 0x1c], 0
mov ebx, eax
je 0x4b76b8
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebp - 0x64], 0
je 0x4b772c
mov eax, dword [0x5d83fa]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx]
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.004bbd10
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x68]
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp + eax - 0xc1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
call fcn.004c75ac
mov ecx, 1
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
call fcn.004baff8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x28]
call fcn.004bca98
mov edx, dword [ebp - 0x64]
mov eax, edi
call fcn.004b6bec
jmp 0x4b774d
mov ecx, dword [ebp - 0x34]
push ecx
cmp dword [ebp - 0x1c], 0
je 0x4b773d
mov edx, 0x3f
jmp 0x4b7742
mov edx, 0x41
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
test ebx, ebx
je 0x4b77c0
mov ecx, dword [ebx]
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x28]
inc dword [eax + 0x48]
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x60], edx
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x28]
call fcn.004bbd50
mov edx, dword [ebp - 0x78]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x4f
je 0x4b778b
mov eax, dword [ebp - 0x78]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x4d
jne 0x4b77a2
cmp dword [ebp - 0x1c], 0
je 0x4b7798
mov ecx, 0x4e
jmp 0x4b779d
mov ecx, 0x50
mov dword [ebp - 0x58], ecx
jmp 0x4b77b7
cmp dword [ebp - 0x1c], 0
je 0x4b77af
mov eax, 0x4f
jmp 0x4b77b4
mov eax, 0x4d
mov dword [ebp - 0x58], eax
mov edx, ebx
mov eax, edi
call fcn.004b6bec
mov eax, dword [ebp - 0x2c]
call fcn.004c7844
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x1c], 0
je 0x4b77d5
mov dl, 0x42
jmp 0x4b77d7
mov dl, 0x43
mov byte [edi + 0x31], dl
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x34], eax
mov ecx, dword [ebp - 0x5c]
mov dword [edi + 0x38], ecx
cmp dword [ebp - 0x64], 0
jne 0x4b77f4
test ebx, ebx
jne 0x4b77f4
mov byte [edi + 0x32], 1
cmp dword [ebp - 0x58], 0x89
je 0x4b80dd
mov eax, dword [ebp - 0x28]
call fcn.004bca7c
mov dword [ebp - 0x3c], eax
mov ebx, eax
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, 0x3d
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
push ebx
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.004bad94
mov ecx, dword [ebp - 0x34]
push ecx
push ebx
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
call fcn.004c75ac
mov dl, 0x6b
mov eax, dword [ebp - 0x2c]
call fcn.004c7948
jmp 0x4b80dd
test byte [edi + 2], 3
je 0x4b7d80
mov esi, dword [edi + 4]
xor eax, eax
mov dword [ebp - 0x7c], eax
xor edx, edx
mov dword [ebp - 0x84], edx
xor ecx, ecx
mov dword [ebp - 0x88], ecx
xor eax, eax
mov dword [ebp - 0xa4], eax
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x9c], edx
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0xa0], ecx
test byte [ebp - 0xa], 1
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 8]
mov ebx, dword [edx + esi*4]
je 0x4b78c0
test byte [edi + 3], 1
je 0x4b78c0
mov eax, dword [ebp - 0x9c]
cmp esi, dword [eax + 4]
jge 0x4b78c0
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0xa4], 1
test byte [edi + 2], 0x10
je 0x4b78f2
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x18
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, ebx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.004b39b4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xa4], 1
test byte [edi + 2], 0x20
je 0x4b7924
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x24
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, ebx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.004b39b4
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xa4], 1
push dword [ebp + 0xc]
push dword [ebp + 8]
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0xac]
push edx
push ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edx, edi
call fcn.004b6df0
mov ebx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov edx, dword [ebp - 0xac]
call fcn.004de3a8
mov dword [ebp - 0xb0], eax
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x9c]
cmp esi, dword [ecx + 4]
jge 0x4b79aa
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x28]
cmp byte [edx + esi], 0
sete cl
and ecx, 1
cmp ecx, dword [ebp - 0x1c]
jne 0x4b79aa
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0
je 0x4b79c3
mov eax, dword [ebp - 0x84]
test byte [eax + 0x10], 0x28
jne 0x4b79c3
xor edx, edx
jmp 0x4b79c8
mov edx, 1
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x88], 0
je 0x4b79e7
mov ecx, dword [ebp - 0x88]
test byte [ecx + 0x10], 0x28
jne 0x4b79e7
xor eax, eax
jmp 0x4b79ec
mov eax, 1
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x84], 0
jne 0x4b7a03
test esi, esi
jg 0x4b7a03
xor edx, edx
jmp 0x4b7a08
mov edx, 1
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], esi
cmp dword [ebp - 0x84], 0
je 0x4b7ab9
mov ecx, dword [ebp - 0x84]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xb8], edx
lea ecx, [esi + ebx]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x28]
call fcn.004bbd50
mov ecx, dword [ebp - 0x84]
test byte [ecx + 0x12], 0x80
jne 0x4b7a64
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [esi + ebx]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x2c]
call fcn.004ba128
cmp dword [ebp - 0xac], 0
je 0x4b7ab1
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb8]
mov dl, byte [ecx + esi]
call fcn.004b900c
cmp al, 0x62
jne 0x4b7a8f
mov ecx, dword [ebp - 0xac]
mov byte [ecx + esi], 0x62
mov eax, dword [ebp - 0xac]
mov dl, byte [eax + esi]
mov eax, dword [ebp - 0xb8]
call fcn.004ba154
test eax, eax
je 0x4b7ab1
mov edx, dword [ebp - 0xac]
mov byte [edx + esi], 0x62
inc dword [ebp - 0x98]
jmp 0x4b7aea
cmp dword [ebp - 0x7c], 0
je 0x4b7aea
lea ecx, [esi + ebx]
mov edx, 0xa
push ecx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
inc dword [ebp - 0x98]
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x98]
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.004b6c38
mov ecx, dword [ebp - 0x94]
lea eax, [ecx*4 + 0x5d83fe]
mov edx, dword [ebp - 0x8c]
lea ecx, [eax + edx*2]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx + eax]
mov dword [ebp - 0xa8], edx
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x2c]
call fcn.004c76b4
mov dword [ebp - 0x98], esi
cmp dword [ebp - 0x88], 0
je 0x4b7c12
mov ecx, dword [ebp - 0x88]
mov eax, dword [ecx]
mov ecx, 1
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xbc], edx
lea edx, [esi + ebx]
mov eax, dword [ebp - 0x28]
call fcn.004bae48
lea ecx, [esi + ebx]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x28]
call fcn.004bbd50
mov ecx, dword [ebp - 0x88]
test byte [ecx + 0x12], 0x80
jne 0x4b7bab
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [esi + ebx]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x2c]
call fcn.004ba128
cmp dword [ebp - 0xb0], 0
je 0x4b7bf8
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xbc]
mov dl, byte [ecx + esi]
call fcn.004b900c
cmp al, 0x62
jne 0x4b7bd6
mov ecx, dword [ebp - 0xb0]
mov byte [ecx + esi], 0x62
mov eax, dword [ebp - 0xb0]
mov dl, byte [eax + esi]
mov eax, dword [ebp - 0xbc]
call fcn.004ba154
test eax, eax
je 0x4b7bf8
mov edx, dword [ebp - 0xb0]
mov byte [edx + esi], 0x62
mov ecx, dword [ebp - 0xb0]
mov edx, ebx
push ecx
lea ecx, [esi + 1]
mov eax, dword [ebp - 0x28]
call fcn.004b6c38
inc dword [ebp - 0x98]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xac]
mov eax, dword [ecx]
call fcn.004de094
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xb0]
mov eax, dword [ecx]
call fcn.004de094
mov eax, dword [ebp - 0x2c]
call fcn.004c7844
mov dword [edi + 0x38], eax
cmp dword [ebp - 0x88], 0
jne 0x4b7c4e
test esi, esi
jne 0x4b7c4e
xor edx, edx
jmp 0x4b7c53
mov edx, 1
mov ecx, dword [ebp - 0x1c]
inc ecx
imul edx, ecx
xor ecx, ecx
mov cl, byte [edx + 0x5d8406]
mov dword [ebp - 0xa8], ecx
cmp dword [ebp - 0xa8], 0x89
je 0x4b7cad
mov eax, dword [ebp - 0x14]
push eax
push ebx
mov edx, dword [ebp - 0x98]
push edx
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x2c]
call fcn.004c76b4
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x1c]
je 0x4b7ca3
mov dl, 1
jmp 0x4b7ca5
xor edx, edx
mov eax, dword [ebp - 0x2c]
call fcn.004c7948
mov eax, dword [ebp - 0x28]
call fcn.004bca7c
mov dword [ebp - 0x80], eax
test byte [edi + 2], 0x30
je 0x4b7cea
push esi
mov edx, dword [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0xa0]
mov edx, 0x1c
mov eax, dword [ebp - 0x2c]
call fcn.004c75ac
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x80]
mov edx, 0x49
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x28]
call fcn.004bca98
mov edx, dword [ebp - 0x84]
mov eax, edi
call fcn.004b6bec
mov edx, dword [ebp - 0x88]
mov eax, edi
call fcn.004b6bec
cmp dword [ebp - 0x18], 0
jne 0x4b7d56
mov eax, dword [ebp - 0x28]
call fcn.004bca7c
mov dword [ebp - 0x3c], eax
mov ebx, eax
push ebx
mov ecx, dword [ebp - 0xa0]
mov edx, 0x48
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
push ebx
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.004bad94
push ebx
mov ecx, dword [ebp - 0x10]
mov edx, 0x30
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
test byte [edi + 3], 4
je 0x4b7d62
mov byte [edi + 0x31], 0x89
jmp 0x4b7d72
cmp dword [ebp - 0x1c], 0
je 0x4b7d6e
mov byte [edi + 0x31], 0x42
jmp 0x4b7d72
mov byte [edi + 0x31], 0x43
mov esi, dword [ebp - 0xa0]
mov dword [edi + 0x34], esi
jmp 0x4b80dd
test byte [edi + 3], 0x10
je 0x4b80a9
mov eax, dword [ebp - 0x28]
xor ecx, ecx
inc dword [eax + 0x48]
xor esi, esi
mov edx, dword [eax + 0x48]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xcc], esi
mov eax, dword [ebp - 0x2c]
call fcn.004c76ec
mov dword [ebp - 0xd0], eax
xor edx, edx
mov dword [ebp - 0xd8], edx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc0], eax
mov byte [edi + 0x31], 3
mov edx, dword [ebp - 0xc4]
mov dword [edi + 0x34], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1c], 1
jle 0x4b7eb6
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
sub eax, dword [ebp - 8]
dec eax
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x28]
mov ecx, edx
shl edx, 3
mov eax, dword [eax]
sub edx, ecx
shl edx, 3
add edx, 0x3c
call fcn.004de27c
mov esi, eax
test esi, esi
jne 0x4b7e29
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
jmp 0x4b8206
mov cx, word [ebp - 0xdc]
inc ecx
mov word [esi + 2], cx
mov ecx, 0x38
mov ax, word [esi + 2]
mov word [esi], ax
lea eax, [esi + 4]
mov edx, dword [ebp - 0x30]
call fcn.00478458
mov eax, dword [ebp - 4]
mov ebx, 1
mov edx, dword [eax + 0xc]
lea eax, [edi + 0x78]
add edx, 4
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xf0], eax
cmp ebx, dword [ebp - 0xdc]
jg 0x4b7ebc
mov edx, dword [ebp - 0xf0]
xor ecx, ecx
mov eax, ebx
shl eax, 3
mov cl, byte [edx]
mov edx, ecx
sub eax, ebx
shl edx, 3
sub edx, ecx
mov ecx, 0x38
shl edx, 3
add edx, dword [ebp - 0xe0]
shl eax, 3
add eax, esi
add eax, 4
call fcn.00478458
inc ebx
add dword [ebp - 0xf0], 0x48
cmp ebx, dword [ebp - 0xdc]
jle 0x4b7e71
jmp 0x4b7ebc
mov esi, dword [ebp - 4]
mov esi, dword [esi + 0xc]
test byte [ebp - 0xa], 8
jne 0x4b7ef6
mov eax, dword [ebp - 0x28]
inc dword [eax + 0x48]
mov edx, dword [eax + 0x48]
mov dword [ebp - 0xc8], edx
mov ecx, dword [ebp - 0x28]
inc dword [ecx + 0x48]
mov eax, dword [ecx + 0x48]
xor ecx, ecx
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xc8]
push edx
mov edx, 0xa
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov ecx, dword [ebp - 0xc4]
mov edx, 7
push ecx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov dword [ebp - 0xd4], eax
xor ebx, ebx
jmp 0x4b8037
mov edx, ebx
mov eax, dword [ebp - 0xc0]
shl edx, 3
mov eax, dword [eax + 0x1c]
lea edx, [edx + edx*4]
add eax, edx
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
je 0x4b7f44
movzx edx, word [eax + 0x10]
cmp edx, 0x200
jne 0x4b8036
push 0
push 0
push 0xf0
mov ecx, dword [eax]
mov edx, esi
mov eax, dword [ebp - 0x28]
call fcn.004b8288
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x4b8036
mov ecx, dword [ebp - 8]
mov edx, esi
push ecx
xor ecx, ecx
mov cl, byte [edi + 0x30]
push ecx
push 0
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x28]
add ecx, 0x34
call fcn.004b70b0
test byte [ebp - 0xa], 8
jne 0x4b7ffb
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx + 0x14]
dec eax
cmp ebx, eax
jne 0x4b7fa4
or edx, 0xffffffff
jmp 0x4b7fa6
mov edx, ebx
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x28]
call fcn.004baf4c
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x2c]
call fcn.004c7844
add eax, 2
push eax
mov edx, dword [ebp - 0xec]
push edx
mov ecx, dword [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0xc8]
mov edx, 0x6b
mov eax, dword [ebp - 0x2c]
call fcn.004c76b4
mov ecx, dword [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0xc4]
mov edx, 2
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov ecx, dword [ebp - 0xe4]
cmp byte [ecx + 7], 0
je 0x4b802b
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xe4]
call fcn.004b8ba8
inc ebx
mov edx, dword [ebp - 0xc0]
cmp ebx, dword [edx + 0x14]
jl 0x4b7f19
mov eax, dword [ebp - 0x2c]
call fcn.004c7844
mov ecx, eax
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x2c]
call fcn.004c7918
mov edx, dword [edi + 0x20]
xor ecx, ecx
push edx
mov edx, 1
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0x2c]
call fcn.004c7744
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1c], 1
jle 0x4b8094
mov eax, dword [ebp - 0x28]
mov edx, esi
mov eax, dword [eax]
call fcn.004de094
cmp dword [ebp - 0xd8], 0
jne 0x4b80dd
mov edx, dword [ebp - 0x24]
mov eax, edi
call fcn.004b6bec
jmp 0x4b80dd
mov ecx, dword [ebp - 0x1c]
mov al, byte [ecx + 0x5d8409]
mov byte [edi + 0x31], al
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x34], edx
mov ecx, dword [ebp - 0x34]
push ecx
mov esi, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [esi + 0x5d840b]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
inc eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x32], 1
mov eax, dword [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 4]
push ecx
call fcn.004b3720
not eax
not edx
and dword [ebp + 8], eax
and dword [ebp + 0xc], edx
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
mov esi, dword [edx + 0x14]
test esi, esi
jle 0x4b816b
mov eax, dword [ebp - 0x24]
test byte [eax + 0x12], 6
jne 0x4b8162
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
and eax, dword [ebp + 8]
and edx, dword [ebp + 0xc]
cmp edx, 0
jne 0x4b812a
cmp eax, 0
je 0x4b8135
mov ecx, dword [ebp - 4]
mov byte [ecx + 7], 1
jmp 0x4b8162
mov eax, dword [ebp - 0x24]
cmp dword [edi + 0x14], 0
mov eax, dword [eax]
je 0x4b814c
movzx edx, word [eax + 2]
and edx, 1
dec edx
je 0x4b814c
jmp 0x4b8162
push 8
mov ecx, dword [ebp - 0x38]
mov edx, eax
mov eax, dword [ebp - 0x28]
call fcn.004bc304
mov ecx, dword [ebp - 0x24]
or byte [ecx + 0x12], 4
dec esi
add dword [ebp - 0x24], 0x28
test esi, esi
jg 0x4b810a
cmp dword [edi + 0x14], 0
je 0x4b81f5
mov eax, dword [ebp - 0x2c]
call fcn.004c7844
mov dword [edi + 0x2c], eax
mov ecx, 1
mov edx, dword [edi + 0x14]
push edx
mov edx, 7
mov eax, dword [ebp - 0x2c]
call fcn.004c7628
mov eax, dword [ebp - 0x28]
call fcn.004bafcc
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x24], ecx
jmp 0x4b81ed
mov eax, dword [ebp - 0x24]
test byte [eax + 0x12], 6
jne 0x4b81e8
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
and eax, dword [ebp + 8]
and edx, dword [ebp + 0xc]
cmp edx, 0
jne 0x4b81cb
cmp eax, 0
je 0x4b81cf
jmp 0x4b81e8
push 8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
call fcn.004bc304
mov edi, dword [ebp - 0x24]
or byte [edi + 0x12], 4
inc esi
add dword [ebp - 0x24], 0x28
mov eax, dword [ebp - 0x20]
cmp esi, dword [eax + 0x14]
jl 0x4b81ab
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
call fcn.004bca98
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8