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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x7cdffc]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 8], ecx
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], eax
test edi, edi
je 0x4e8604
mov eax, 0x65
test edx, edx
je 0x4e7b5a
movzx eax, byte [edx]
mov dword [esp + 0x18], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x4e7b73.21
movzx eax, byte [eax + 0x4e896c]
jmp dword [eax*4 + 0x4e8908]
movsx eax, word [edx + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 0x1c]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 0x28]
cmp byte [eax], 0
jne 0x4e7bab
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x4e7bcf
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x2f
mov ecx, edi
push dword [eax + 8]
call fcn.004d1ba0
add esp, 0xc
jmp 0x4e88ee
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x1c]
test edi, edi
jns 0x4e7bff
mov eax, dword [esi + 0x5c]
test eax, eax
jle 0x4e7bfc
movsx edi, word [edx + 0x20]
add edi, eax
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x60]
movzx eax, byte [edx + 0x26]
push eax
movsx eax, word [edx + 0x20]
mov edx, dword [edx + 0x2c]
push ecx
push edi
push eax
mov ecx, esi
call fcn.004e77b0
add esp, 0x10
mov edi, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov ecx, esi
call fcn.004e72f0
add esp, 8
jmp 0x4e88ee
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, edi
call fcn.004e7240
add esp, 8
jmp 0x4e88ee
push 0
push dword [edx + 8]
mov edx, 0x61
push 0
push ecx
push 0
mov ecx, edi
call fcn.004d1d40
add esp, 0x14
jmp 0x4e88ee
push ecx
push 0
mov edx, 0x1c
mov ecx, edi
call fcn.004d1cd0
add esp, 8
jmp 0x4e88ee
mov ecx, dword [edx + 8]
add ecx, 2
call fcn.004b7300
mov edx, ecx
mov ecx, dword [edi]
lea esi, [eax - 1]
push esi
call fcn.004b85a0
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, 0x1e
sar eax, 1
push eax
call fcn.004d1d40
add esp, 0x14
jmp 0x4e88ee
movsx eax, word [edx + 0x20]
mov edx, 0x1f
push ecx
push eax
mov ecx, edi
call fcn.004d1cd0
mov ecx, dword [esp + 0x34]
add esp, 8
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x4e88ee
movsx ecx, word [ecx + 0x20]
or edx, 0xffffffff
mov eax, dword [esi + 0x1d8]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.004d23c0
add esp, 8
jmp 0x4e88ee
mov edi, dword [edx + 0x1c]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004e7b00
add esp, 4
mov edi, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004e7b00
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 8], ecx
cmp ecx, eax
je 0x4e7d82
push eax
push ecx
mov edx, 0x22
mov ecx, edi
call fcn.004d1cd0
mov edx, dword [ebp + 8]
add esp, 8
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov ecx, dword [ecx + 8]
call fcn.004ef1d0
movsx eax, al
mov edx, 0x28
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.004d1cd0
mov edi, dword [esp + 0x10]
mov ecx, esi
push 1
mov edx, edi
call fcn.004e7560
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004e8a60
mov ecx, dword [esp + 0x30]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004e8a60
mov edx, dword [ebp + 8]
add esp, 4
push 0x20
push edx
push eax
push edi
push dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov ecx, esi
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.004e4430
add esp, 0x18
jmp 0x4e8504
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004e8a60
mov ecx, dword [esp + 0x30]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004e8a60
mov edx, dword [ebp + 8]
add esp, 4
push 0xa0
push edx
push eax
xor eax, eax
cmp dword [esp + 0x24], 0x49
push edi
sete al
add eax, 0x4e
push eax
jmp 0x4e7e01
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004e8a60
mov ecx, dword [esp + 0x30]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004e8a60
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push edi
push eax
call fcn.004d1ba0
add esp, 0xc
jmp 0x4e8504
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x84
jne 0x4e7ec6
push ecx
push 1
mov ecx, esi
call fcn.004e72f0
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 8], eax
jmp 0x4e8504
cmp al, 0x85
jne 0x4e7ee6
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, edi
call fcn.004e7240
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 8], eax
jmp 0x4e8504
lea eax, [esp + 0xc]
mov byte [esp + 0x70], 0x84
push eax
lea edx, [esp + 0x74]
mov dword [esp + 0x78], 0x4400
mov ecx, esi
mov dword [esp + 0x7c], 0
call fcn.004e8a60
mov ecx, dword [esp + 0x30]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.004e8a60
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x30]
push edx
push edi
push eax
mov edx, 0x5a
call fcn.004d1ba0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x4e8504
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004e8a60
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [esp + 8], ecx
push ecx
push eax
mov ecx, edi
call fcn.004d1cd0
add esp, 8
jmp 0x4e8504
push ecx
push 1
mov edx, 0x19
mov ecx, edi
call fcn.004d1cd0
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.004e8a60
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, edi
push eax
call fcn.004d1c60
mov ecx, dword [esp + 0x34]
add esp, 4
mov edx, 0x19
mov edi, eax
push dword [ebp + 8]
push 0
call fcn.004d1cd0
mov ecx, dword [esp + 0x38]
add esp, 8
mov edx, edi
call fcn.004d21a0
jmp 0x4e8504
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x4e7ff0
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push esi
call fcn.004b73f0
add esp, 0xc
jmp 0x4e88ee
movsx ecx, word [edx + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov al, byte [eax + 0x3e]
mov byte [esp + 0x14], al
je 0x4e8134
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov edx, dword [edx + 8]
mov ecx, edx
mov dword [esp + 0x20], edx
call fcn.004b7300
mov ecx, dword [esp + 0xc]
push 0
push dword [esp + 0x18]
mov dword [esp + 0x40], eax
push ecx
mov ecx, dword [esp + 0x40]
push eax
call fcn.004f4180
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x4e8379
cmp dword [eax + 0xc], 0
je 0x4e8379
movzx eax, word [eax + 2]
test eax, 0x200
je 0x4e814e
mov ecx, edi
call fcn.004d1ed0
mov edx, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.004e8c00
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, 1
jle 0x4e8124
dec eax
mov dword [esp + 0x14], 0x18
mov dword [esp + 0x1c], eax
push dword [esp + 0x28]
mov edx, 0x4d
mov ecx, edi
push dword [ebp + 8]
call fcn.004d1cd0
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.004e7560
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc dword [esi + 0x64]
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.004e8c00
add esp, 4
mov ecx, esi
call fcn.004e75c0
add dword [esp + 0x14], 0x18
sub dword [esp + 0x1c], 1
jne 0x4e80d1
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.004d1f20
jmp 0x4e88ee
mov eax, dword [edx + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4e8043
mov eax, dword [eax]
mov dword [esp + 0xc], eax
jmp 0x4e804b
test eax, 0x400
je 0x4e8170
mov eax, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.004e8c00
add esp, 4
jmp 0x4e88ee
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x4e8205
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x20], edx
nop dword [eax]
cmp eax, 0x20
jge 0x4e81bb
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + edx]
call fcn.004e5e60
mov edx, dword [esp + 0x20]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4e81b7
mov ecx, dword [esp + 0x28]
bts ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x10]
je 0x4e81f1
cmp dword [esp + 0x1c], 0
jne 0x4e81f1
mov edx, dword [edi + 4]
mov ecx, esi
mov eax, dword [esp + 0x20]
mov edx, dword [edx + eax]
call fcn.004e41d0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
inc eax
add edx, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
cmp eax, ecx
jl 0x4e8190
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4e8289
cmp dword [esp + 0x28], 0
je 0x4e822d
mov eax, dword [esi + 0x48]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x30]
mov dword [esi + 0x48], eax
jmp 0x4e823e
mov edx, ecx
mov ecx, esi
call fcn.004e9f40
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
test byte [eax + 2], 0xc0
je 0x4e8269
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov cl, byte [ecx]
cmp cl, 0x9a
je 0x4e825d
cmp cl, 0x9c
jne 0x4e8269
mov al, byte [eax + 2]
mov ecx, dword [esp + 0x14]
and al, 0xc0
mov byte [ecx + 0x26], al
inc dword [esi + 0x64]
mov ecx, esi
push 3
push dword [esp + 0x24]
call fcn.004e8dd0
add esp, 8
mov ecx, esi
call fcn.004e75c0
mov edx, dword [esp + 0x10]
jmp 0x4e8291
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0xc]
cmp eax, 2
jl 0x4e82c4
mov ecx, dword [esp + 0x2c]
test byte [ecx + 4], 0x80
je 0x4e82c4
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push dword [eax + 0x18]
jo 0x4e82ca
push dword [esp + 0x10]
call fcn.00512a00
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x4e82eb
test eax, eax
jle 0x4e82e7
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push dword [eax]
push dword [esp + 0x10]
call fcn.00512a00
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x4e82eb
mov eax, dword [esp + 0x18]
test byte [eax + 2], 0x20
je 0x4e831c
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4e8300
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x24
mov ecx, edi
call fcn.004d1d40
mov eax, dword [esp + 0x2c]
add esp, 0x14
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 1
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x38]
call fcn.004d1d40
mov edx, dword [edi + 4]
add esp, 0x14
test edx, edx
je 0x4e834e
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0xc]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e88ee
cmp dword [esp + 0x28], 0
jne 0x4e88ee
mov edx, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.004e9f70
add esp, 4
jmp 0x4e88ee
push dword [esp + 0x20]
push dword [esp + 0x3c]
push str.unknown_function:__.s__
push esi
call fcn.004b73f0
add esp, 0x10
jmp 0x4e88ee
push 0
push 0
mov ecx, esi
call fcn.004e6730
add esp, 8
mov edi, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.004d1ed0
mov ecx, dword [esp + 0x30]
mov edi, eax
call fcn.004d1ed0
push dword [ebp + 8]
mov ecx, dword [esp + 0x34]
mov edx, 0x1c
push 0
mov dword [esp + 0x24], eax
call fcn.004d1cd0
push dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ecx, esi
push edi
call fcn.004e6c90
push dword [ebp + 8]
mov esi, dword [esp + 0x44]
mov edx, 0x19
push 1
mov ecx, esi
call fcn.004d1cd0
mov edx, edi
mov ecx, esi
call fcn.004d1f20
push 0
push dword [ebp + 8]
mov edx, 0x25
call fcn.004d1cd0
mov edx, dword [esp + 0x3c]
add esp, 0x20
mov ecx, esi
call fcn.004d1f20
jmp 0x4e88ee
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0xc]
mov edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov edi, dword [eax]
lea eax, [esp + 0xc]
push eax
call fcn.004e8a60
add esp, 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov edx, edi
mov ecx, esi
push eax
call fcn.004e8a60
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.004e9ee0
mov dword [esp + 0x34], eax
call fcn.004e9ee0
push 0x20
push dword [esp + 0x38]
mov dword [esp + 0x24], eax
push edx
push dword [esp + 0x20]
mov edx, dword [esp + 0x38]
push 0x53
push edi
call fcn.004e4430
mov edi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x28]
mov edi, dword [edi + 0x18]
call fcn.004e9f00
lea eax, [esp + 0x28]
mov edx, edi
push eax
mov ecx, esi
call fcn.004e8a60
mov edx, dword [esp + 0x44]
add esp, 0x1c
mov ecx, esi
push 0x20
push dword [esp + 0x20]
push eax
push dword [esp + 0x20]
push 0x51
push edi
call fcn.004e4430
push dword [ebp + 8]
mov edi, dword [esp + 0x50]
mov edx, 0x48
push dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
push edi
call fcn.004d1ba0
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.004e9f00
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.004e9f00
cmp dword [esp + 0xc], 0
je 0x4e8544
mov al, byte [esi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x4e8544
xor ecx, ecx
lea eax, [esi + 0x74]
nop dword [eax + eax]
mov edx, dword [esp + 0xc]
cmp dword [eax + 0xc], edx
je 0x4e8540
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4e8520
movzx eax, byte [esp + 0x27]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x4e8544
mov byte [eax + 6], 1
cmp dword [esp + 0x10], 0
je 0x4e88ee
mov al, byte [esi + 0x13]
mov byte [esp + 0x27], al
cmp al, 8
jae 0x4e88ee
xor ecx, ecx
lea eax, [esi + 0x74]
mov edx, dword [esp + 0x10]
cmp dword [eax + 0xc], edx
je 0x4e8586
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4e8563
movzx eax, byte [esp + 0x27]
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x13]
jmp 0x4e88ee
mov byte [eax + 6], 1
jmp 0x4e88ee
mov esi, dword [edx + 0x2c]
movsx eax, word [edx + 0x20]
push ecx
inc eax
movsx ecx, word [esi + 0x26]
inc ecx
imul ecx, dword [edx + 0x1c]
mov edx, 0x84
add eax, ecx
mov ecx, edi
push eax
call fcn.004d1cd0
mov ecx, dword [esp + 0x34]
add esp, 8
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x4e88ee
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esi + 4]
cmp byte [eax + ecx*8 + 0x15], 0x45
jne 0x4e88ee
push dword [ebp + 8]
mov edx, 0x27
mov ecx, edi
call fcn.004d1c60
add esp, 4
jmp 0x4e88ee
cmp dword [esi + 0x19c], 0
jne 0x4e861a
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.004b73f0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x4e8631
mov eax, dword [esi + 0x198]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov al, byte [edx + 1]
push 0
cmp al, 4
jne 0x4e8657
push dword [edx + 8]
mov edx, 0x18
mov ecx, edi
push 0
push 4
push 0
call fcn.004d1d40
add esp, 0x14
jmp 0x4e88ee
push 0
push dword [edx + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, esi
call fcn.004f32b0
add esp, 0x10
jmp 0x4e88ee
mov eax, dword [edx + 0x14]
mov ecx, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], 0
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
call fcn.004d1ed0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
test edx, edx
je 0x4e8711
movups xmm0, xmmword [edx]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
movups xmmword [esp + 0x74], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [esp + 0x84], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [esp + 0x94], xmm0
call fcn.004e8a60
mov cl, byte [esp + 0x74]
add esp, 4
and dword [esp + 0x74], 0xffffefff
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x96], cl
mov byte [esp + 0x70], 0x9f
mov byte [esp + 0x40], 0x4f
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x4e885a
mov eax, dword [esp + 0x14]
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x20], ecx
nop dword [eax]
inc dword [esi + 0x64]
mov eax, dword [eax]
test edx, edx
je 0x4e873f
mov dword [esp + 0x50], eax
jmp 0x4e8743
mov dword [esp + 0x1c], eax
mov edx, dword [edi + 0x18]
mov dword [esp + 0x34], edx
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4e8784
mov edx, dword [edx + 0x70]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x34]
push 0
push eax
mov ecx, dword [ecx]
call fcn.004b4b50
mov edx, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword [edx + 0x70], eax
mov eax, dword [edx + 0x70]
test eax, eax
je 0x4e8792
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [esp + 0x1c]
not ecx
push 0x10
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, esi
call fcn.004e9460
mov edx, dword [esp + 0x1c]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.004e8c00
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x54], ecx
jg 0x4e87d8
mov ecx, edi
call fcn.004d1b20
test eax, eax
jne 0x4e880c
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x10
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.004e75c0
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x18]
not ecx
mov dword [esp + 0x38], eax
test ecx, ecx
js 0x4e8831
mov edx, dword [eax + 0x70]
test edx, edx
je 0x4e8831
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x38]
dec eax
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x14]
add eax, 0x30
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], eax
jne 0x4e8730
mov eax, dword [esp + 0x10]
test al, 1
je 0x4e8885
mov edx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
inc dword [esi + 0x64]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx + eax*8 - 0x18]
call fcn.004e8c00
add esp, 4
mov ecx, esi
call fcn.004e75c0
jmp 0x4e88ce
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
cmp dword [eax + 0x54], esi
jg 0x4e889b
mov ecx, edi
call fcn.004d1b20
test eax, eax
jne 0x4e88ce
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x1c
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 edx, dword [edi + 0x18]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x30]
js 0x4e88e7
mov esi, dword [edx + 0x70]
test esi, esi
je 0x4e88e7
mov eax, dword [edi + 0x20]
mov dword [esi + ecx*4], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov edi, dword [esp + 8]
mov eax, edi
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret