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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
test edi, edi
je 0x4b74c5
mov eax, 0x62
test edx, edx
je 0x4b6a4c
movzx eax, byte [edx]
mov dword [esp + 0x24], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x4b6a65.21
movzx eax, byte [eax + 0x4b77e8]
jmp dword [eax*4 + 0x4b7784]
movsx eax, word [edx + 0x1e]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 0x14]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 0x24]
cmp byte [eax], 0
jne 0x4b6a8f
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x4b6aba
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x1d
mov ecx, edi
push dword [eax + 8]
call fcn.004a3c00
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x18]
test edi, edi
jns 0x4b6ad3
movsx edi, word [edx + 0x1c]
add edi, dword [esi + 0x58]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx + 0x23]
push eax
movsx eax, word [edx + 0x1c]
mov edx, dword [edx + 0x28]
push ecx
push edi
push eax
mov ecx, esi
call fcn.004b6550
add esp, 0x10
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, esi
call fcn.004b6100
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 4]
push ecx
push 0
mov ecx, edi
call fcn.004b5fd0
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push dword [edx + 4]
mov edx, 0x5e
push 0
push ecx
push 0
mov ecx, edi
call fcn.004a3d90
mov edi, dword [esp + 0x20]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov edx, 0xa
mov ecx, edi
call fcn.004a3d20
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 4]
add ecx, 2
call fcn.0048a880
mov edx, ecx
mov ecx, dword [edi]
lea esi, [eax - 1]
push esi
call fcn.0048b790
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, edi
push 0xffffffffffffffff
push eax
push 0
push edx
mov eax, esi
cdq
sub eax, edx
mov edx, 0xb
sar eax, 1
push eax
call fcn.004a3d90
mov edi, dword [esp + 0x20]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx eax, word [edx + 0x1c]
mov edx, 0xc
push ecx
push eax
mov ecx, edi
call fcn.004a3d20
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [ecx + 4]
cmp byte [eax + 1], 0
je 0x4b7776
movsx ecx, word [ecx + 0x1c]
mov eax, dword [esi + 0x1ec]
mov edx, dword [edi + 4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x4b6c44
cmp byte [ecx + 0x36], 0
jne 0x4b6c44
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.004a4210
mov eax, dword [esp + 0x20]
add esp, 4
mov edi, dword [esp + 0xc]
mov dword [esi + 0x10], 0
test eax, eax
jne 0x4b6c35
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], eax
mov eax, edi
mov byte [esi + 1], 0xfe
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov edx, 0xfffffffe
call fcn.004a4210
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 0x18]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
mov ecx, esi
call fcn.004b6a00
add esp, 4
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
push ecx
mov ecx, esi
call fcn.004b6a00
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [ecx + 4]
call fcn.004bda40
mov ecx, dword [esp + 0xc]
movsx eax, al
add eax, 0x2c
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x4b6cca
push eax
push ecx
mov edx, 0xf
mov ecx, edi
call fcn.004a3d20
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.004a3cc0
mov edi, dword [esp + 0x10]
add esp, 4
mov edx, edi
mov ecx, esi
push 1
call fcn.004b6360
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b7880
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.004b7880
mov edx, dword [ebp + 8]
add esp, 4
push 0x10
push edx
push eax
push edi
push dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov ecx, esi
push dword [eax + 0xc]
mov edx, dword [eax + 8]
call fcn.004b3900
add esp, 0x18
jmp 0x4b73ae
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b7880
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.004b7880
mov edx, dword [ebp + 8]
add esp, 4
push 0x90
push edx
push eax
xor eax, eax
cmp dword [esp + 0x30], 0x46
push edi
sete al
add eax, 0x4b
push eax
jmp 0x4b6d29
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b7880
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.004b7880
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
push edi
push eax
call fcn.004a3c00
add esp, 0xc
jmp 0x4b73ae
mov edx, dword [edx + 8]
mov al, byte [edx]
cmp al, 0x81
jne 0x4b6dee
push ecx
push 1
mov ecx, esi
call fcn.004b6100
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x4b73ae
cmp al, 0x82
jne 0x4b6e0e
mov edx, dword [edx + 4]
push ecx
push 1
mov ecx, edi
call fcn.004b5fd0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x4b73ae
mov ecx, esi
call fcn.004b8970
mov ecx, dword [esp + 0x34]
mov edi, eax
push edi
push 0
mov edx, 7
mov dword [esp + 0x1c], edi
call fcn.004a3d20
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
mov edx, dword [ecx + 8]
mov ecx, esi
call fcn.004b7880
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x34]
push edx
push edi
push eax
mov edx, 0x57
call fcn.004a3c00
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4b73ae
mov edx, dword [edx + 8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004b7880
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
push ecx
push eax
mov ecx, edi
call fcn.004a3d20
add esp, 8
jmp 0x4b73ae
push ecx
push 1
mov edx, 7
mov ecx, edi
call fcn.004a3d20
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx + 8]
mov ecx, esi
call fcn.004b7880
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push eax
call fcn.004a3cc0
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, 0x14
mov edi, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004a3d20
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, edi
call fcn.004a41f0
jmp 0x4b73ae
mov eax, dword [edx + 0x24]
test eax, eax
jne 0x4b6f13
push dword [edx + 4]
push str.misuse_of_aggregate:__s__
push esi
call fcn.0048a980
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx ecx, word [edx + 0x1e]
mov eax, dword [eax + 0x20]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x28], al
mov eax, 0x4000
test word [edx + 2], ax
je 0x4b6fb8
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edx, dword [edx + 4]
mov ecx, edx
mov dword [esp + 0x30], edx
call fcn.0048a880
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x2c]
mov dword [esp + 0x40], eax
push ecx
mov ecx, dword [esp + 0x48]
push eax
call fcn.004c1cb0
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4b6fcb
push dword [esp + 0x30]
push dword [esp + 0x3c]
push str.unknown_function:__.s__
push esi
call fcn.0048a980
mov edi, dword [esp + 0x1c]
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4b6f5c
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x4b6f64
test byte [eax + 3], 0x20
je 0x4b7079
mov ecx, edi
call fcn.004a3fb0
mov edx, dword [esp + 0x18]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x30], eax
mov edx, dword [edx + 8]
mov edx, dword [edx]
call fcn.004b7910
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 1
jle 0x4b7062
dec eax
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x1c], eax
lea esp, [esp]
push dword [esp + 0x2c]
mov edx, 0x4a
mov ecx, edi
push dword [ebp + 8]
call fcn.004a3d20
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.004b6360
mov eax, dword [esp + 0x24]
add esp, 0xc
inc dword [esi + 0x5c]
mov ecx, esi
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.004b7910
add esp, 4
mov ecx, esi
call fcn.004b63c0
add dword [esp + 0x28], 0x14
dec dword [esp + 0x1c]
jne 0x4b7010
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.004a4020
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b70dd
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.004b89d0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov al, byte [eax + 3]
mov byte [esp + 0x13], al
test al, 0xc0
mov eax, dword [esp + 0x18]
je 0x4b70bb
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov cl, byte [edx]
cmp cl, 0x98
je 0x4b70b4
cmp cl, 0x9a
jne 0x4b70bb
mov cl, byte [esp + 0x13]
mov byte [edx + 0x23], cl
inc dword [esi + 0x5c]
mov edx, eax
push 1
push dword [esp + 0x2c]
mov ecx, esi
call fcn.004b7c50
add esp, 8
mov ecx, esi
call fcn.004b63c0
mov eax, dword [esp + 0x18]
jmp 0x4b70e5
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x14]
cmp edx, 2
jl 0x4b7100
mov ecx, dword [esp + 0x20]
test byte [ecx + 2], 0x80
je 0x4b7100
mov eax, dword [eax + 8]
push dword [eax + 0x14]
jmp 0x4b7109
test edx, edx
jle 0x4b7122
mov eax, dword [eax + 8]
push dword [eax]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x2c]
call fcn.004de5f0
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
test edx, edx
jle 0x4b71b7
mov edi, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
cmp ecx, 0x20
jge 0x4b7169
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x38]
mov ecx, dword [ecx + eax]
call fcn.004b4f70
mov edx, dword [esp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
je 0x4b7169
or dword [esp + 0x1c], eax
mov edi, dword [esp + 0x24]
test byte [edi + 3], 8
mov edi, dword [esp + 0x18]
je 0x4b719f
cmp dword [esp + 0x2c], 0
jne 0x4b719f
mov edx, dword [edi + 8]
mov ecx, esi
mov eax, dword [esp + 0x38]
mov edx, dword [edx + eax]
call fcn.004b36d0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x38], 0x14
inc ecx
rol eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
cmp ecx, edx
jl 0x4b7141
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
test byte [eax + 3], 8
je 0x4b71ec
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4b71d0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.004a3d90
mov eax, dword [esp + 0x38]
add esp, 0x14
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 0x12
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x2c]
call fcn.004a3d90
mov edx, dword [edi + 4]
add esp, 0x14
test edx, edx
je 0x4b721e
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b7776
mov edx, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.004b8a00
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
mov ecx, esi
call fcn.004b55c0
add esp, 8
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004a3fb0
mov ecx, dword [esp + 0x34]
mov edi, eax
call fcn.004a3fb0
push dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov edx, 0xa
push 0
mov dword [esp + 0x24], eax
call fcn.004a3d20
push dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edi
call fcn.004b5b50
push dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov edx, 7
push 1
mov ecx, esi
call fcn.004a3d20
mov edx, edi
mov ecx, esi
call fcn.004a4020
push 0
push dword [ebp + 8]
mov edx, 0x14
call fcn.004a3d20
mov edx, dword [esp + 0x3c]
add esp, 0x20
mov ecx, esi
call fcn.004a4020
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 8]
mov edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, esi
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
mov edi, dword [eax]
lea eax, [esp + 0x14]
push eax
call fcn.004b7880
add esp, 4
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
mov edx, edi
mov ecx, esi
push eax
call fcn.004b7880
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.004b8970
mov dword [esp + 0x30], eax
call fcn.004b8970
push 0x10
push dword [esp + 0x34]
mov dword [esp + 0x24], eax
push edx
push dword [esp + 0x38]
mov edx, dword [esp + 0x38]
push 0x50
push edi
call fcn.004b3900
mov edi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x30]
mov edi, dword [edi + 0x14]
call fcn.004b8990
lea eax, [esp + 0x30]
mov edx, edi
push eax
mov ecx, esi
call fcn.004b7880
mov edx, dword [esp + 0x44]
add esp, 0x1c
mov ecx, esi
push 0x10
push dword [esp + 0x20]
push eax
push dword [esp + 0x38]
push 0x4e
push edi
call fcn.004b3900
push dword [ebp + 8]
mov edi, dword [esp + 0x4c]
mov edx, 0x45
push dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
push edi
call fcn.004a3c00
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.004b8990
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.004b8990
cmp dword [esp + 0x14], 0
je 0x4b73e9
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x4b73e9
xor ecx, ecx
lea eax, [esi + 0x64]
mov edx, dword [esp + 0x14]
cmp dword [eax + 0x10], edx
je 0x4b73e5
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4b73c5
movzx eax, byte [esp + 0x13]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x4b73e9
mov byte [eax + 8], 1
cmp dword [esp + 0x18], 0
je 0x4b7776
mov al, byte [esi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x4b7776
xor ecx, ecx
lea eax, [esi + 0x64]
jmp 0x4b7410
mov edx, dword [esp + 0x18]
cmp dword [eax + 0x10], edx
je 0x4b743a
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4b7410
movzx eax, byte [esp + 0x13]
mov edi, dword [esp + 0xc]
mov dword [esi + eax*4 + 0x1c], edx
mov eax, edi
inc byte [esi + 0x13]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
mov byte [eax + 8], 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 0x28]
movsx eax, word [edx + 0x1c]
push ecx
inc eax
mov ecx, dword [esi + 8]
inc ecx
imul ecx, dword [edx + 0x18]
mov edx, 0x74
add eax, ecx
mov ecx, edi
push eax
call fcn.004a3d20
mov ecx, dword [esp + 0x28]
add esp, 8
movzx eax, word [ecx + 0x1c]
test ax, ax
js 0x4b7776
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xc]
cmp byte [eax + ecx*8 + 0x16], 0x65
jne 0x4b7776
push dword [ebp + 8]
mov edx, 0x16
mov ecx, edi
call fcn.004a3cc0
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1b4], 0
jne 0x4b74cd
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.0048a980
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x4b74e4
mov eax, dword [esi + 0x1b0]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov al, byte [edx + 1]
push 0
push dword [edx + 4]
cmp al, 4
jne 0x4b7511
push 0
push 4
push 0
mov edx, 6
mov ecx, edi
call fcn.004a3d90
mov edi, dword [esp + 0x20]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movsx edx, al
mov ecx, esi
call fcn.004c12a0
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x10]
mov ecx, edi
mov dword [esp + 0x1c], 0
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004a3fb0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
test edx, edx
je 0x4b75ad
movdqu xmm0, xmmword [edx]
lea eax, [esp + 0x14]
mov ecx, esi
push eax
movdqu xmmword [esp + 0x44], xmm0
movdqu xmm0, xmmword [edx + 0x10]
movdqu xmmword [esp + 0x54], xmm0
movdqu xmm0, xmmword [edx + 0x20]
movdqu xmmword [esp + 0x64], xmm0
call fcn.004b7880
mov edx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov byte [esp + 0x40], 0x84
mov byte [esp + 0x70], 0x4c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4b76f0
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
shr ecx, 1
inc ecx
mov dword [esp + 0x30], ecx
inc dword [esi + 0x5c]
mov eax, dword [eax]
test edx, edx
je 0x4b75d6
mov dword [esp + 0x7c], eax
jmp 0x4b75da
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x34], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x24], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4b762f
mov eax, dword [edi]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], edx
call fcn.00488a90
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4b7628
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
call fcn.004887b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4b763d
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
sub eax, ecx
mov ecx, esi
push 8
push eax
mov dword [esp + 0x2c], eax
call fcn.004b80c0
mov edx, dword [esp + 0x30]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x14]
call fcn.004b7910
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x20], eax
jg 0x4b7683
mov ecx, edi
call fcn.004a3b80
test eax, eax
jne 0x4b76b7
mov eax, dword [esp + 0x2c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
call fcn.004b63c0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x4b76d7
mov eax, dword [esp + 0x24]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
add eax, 0x28
dec dword [esp + 0x30]
mov dword [esp + 0x28], eax
jne 0x4b75c7
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x4b7717
mov edx, dword [ebp + 8]
mov ecx, esi
inc dword [esi + 0x5c]
push edx
mov edx, dword [eax + 0xc]
call fcn.004b7910
add esp, 4
mov ecx, esi
call fcn.004b63c0
jmp 0x4b775d
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x4b772a
mov ecx, edi
call fcn.004a3b80
test eax, eax
jne 0x4b775d
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x4b7776
mov eax, dword [esp + 0x3c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x1c]
mov dword [ecx], eax
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret