Function at 0x490cc0
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 + 0x2c], 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 + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x3c], eax
test edi, edi
je 0x4917e0
mov eax, 0x65
test edx, edx
je 0x490d0c
movzx eax, byte [edx]
mov dword [esp + 0x1c], eax
add eax, 0xffffffed
cmp eax, 0x8c
ja case.0x490d25.21
movzx eax, byte [eax + 0x491b48]
jmp dword [eax*4 + 0x491ae4]
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 0x490d4f
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x490d7a
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x2f
mov ecx, edi
push dword [eax + 8]
call fcn.00479220
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 + 0x1c]
test edi, edi
jns 0x490d9c
mov eax, dword [esi + 0x64]
test eax, eax
jle 0x490d99
movsx edi, word [edx + 0x20]
add edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x68]
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.004908e0
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.00490340
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 + 8]
push ecx
push 0
mov ecx, edi
call fcn.00490200
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [edx + 8]
mov edx, ecx
mov ecx, edi
call fcn.00479450
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push 0
mov edx, 0x19
mov ecx, edi
call fcn.00479370
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 8]
lea ecx, [esi + 2]
call fcn.0045c900
lea edx, [esi + 2]
mov esi, dword [esp + 0x34]
lea edi, [eax - 1]
mov ecx, dword [esi]
push edi
call fcn.0045dc10
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, esi
push 0xffffffffffffffff
push eax
push 0
push edx
mov eax, edi
cdq
sub eax, edx
mov edx, 0x1b
sar eax, 1
push eax
call fcn.00479660
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 + 0x20]
mov edx, 0x1c
push ecx
push eax
mov ecx, edi
call fcn.00479370
mov ecx, dword [esp + 0x38]
add esp, 8
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x491ad7
movsx ecx, word [ecx + 0x20]
mov eax, dword [esi + 0x1dc]
mov edx, dword [eax + ecx*4 - 4]
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x490ecd
push edx
mov edx, 0xfffffffe
call fcn.00479ca0
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x490efc
push 0xfffffffffffffffe
push edx
mov edx, eax
mov ecx, edi
call fcn.00479ec0
mov edi, dword [esp + 0x14]
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
test edx, edx
je 0x491adb
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfe
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 0x1c]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.00490cc0
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ecx
cmp ecx, eax
je 0x490f55
push eax
push ecx
mov edx, 0x1f
mov ecx, edi
call fcn.00479370
mov edx, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [ecx + 8]
call fcn.004982a0
movsx eax, al
mov edx, 0x28
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.00479370
mov edi, dword [esp + 0x14]
mov ecx, esi
push 1
mov edx, edi
call fcn.00490680
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00491c40
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.00491c40
mov edx, dword [ebp + 8]
add esp, 4
push 0x20
push edx
push eax
push edi
push dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov ecx, esi
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.0048d210
add esp, 0x18
jmp 0x4916b7
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00491c40
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.00491c40
mov edx, dword [ebp + 8]
add esp, 4
push 0xa0
push edx
push eax
xor eax, eax
cmp dword [esp + 0x28], 0x49
push edi
sete al
add eax, 0x4e
push eax
jmp 0x490fc6
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00491c40
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.00491c40
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
push edi
push eax
call fcn.00479220
add esp, 0xc
jmp 0x4916b7
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x84
jne 0x49108b
push ecx
push 1
mov ecx, esi
call fcn.00490340
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x4916b7
cmp al, 0x85
jne 0x4910ab
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, edi
call fcn.00490200
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esp + 0xc], eax
jmp 0x4916b7
lea eax, [esp + 0x10]
mov byte [esp + 0x40], 0x84
push eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], 0x4400
mov ecx, esi
mov dword [esp + 0x4c], 0
call fcn.00491c40
mov ecx, dword [esp + 0x34]
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.00491c40
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x34]
push edx
push edi
push eax
mov edx, 0x5a
call fcn.00479220
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4916b7
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00491c40
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
push ecx
push eax
mov ecx, edi
call fcn.00479370
add esp, 8
jmp 0x4916b7
push ecx
push 1
mov edx, 0x16
mov ecx, edi
call fcn.00479370
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.00491c40
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, edi
push eax
call fcn.00479300
mov ecx, dword [esp + 0x38]
add esp, 4
mov edx, 0x16
mov edi, eax
push dword [ebp + 8]
push 0
call fcn.00479370
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edx, edi
call fcn.00479c60
jmp 0x4916b7
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x4911bc
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push esi
call fcn.0045ca50
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 + 0x22]
mov eax, dword [eax + 0x28]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], 0
mov al, byte [eax + 0x42]
mov byte [esp + 0x18], al
je 0x4912e9
mov dword [esp + 0x14], 0
xor eax, eax
mov ecx, dword [edx + 8]
mov edx, ecx
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x44]
push eax
mov dword [esp + 0x1c], eax
call fcn.0049da80
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x491530
cmp dword [eax + 0x10], 0
jne 0x491530
movzx eax, word [eax + 2]
test eax, 0x200
je 0x4912ff
mov ecx, edi
call fcn.00479930
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov edx, dword [edx + 4]
mov edx, dword [edx]
call fcn.00491d90
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, 1
jle 0x4912d2
dec eax
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x20], eax
nop
push dword [esp + 0x28]
mov edx, 0x4d
mov ecx, edi
push dword [ebp + 8]
call fcn.00479370
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.00490680
mov eax, dword [esp + 0x20]
add esp, 0xc
inc dword [esi + 0x6c]
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.00491d90
add esp, 4
mov ecx, esi
call fcn.004906e0
add dword [esp + 0x18], 0x18
dec dword [esp + 0x20]
jne 0x491280
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.00479980
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x14]
mov dword [esp + 0x14], eax
test eax, eax
je 0x491201
mov eax, dword [eax]
jmp 0x491203
test eax, 0x400
je 0x491324
mov eax, dword [esp + 0x14]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [eax + 4]
mov edx, dword [edx]
call fcn.00490cc0
add esp, 4
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x24], edx
test ecx, ecx
jle 0x4913bd
mov edi, dword [esp + 0x14]
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
cmp edx, 0x20
jge 0x49136f
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx + eax]
call fcn.0048ecd0
mov ecx, dword [esp + 0x10]
test eax, eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
je 0x49136f
or dword [esp + 0x38], eax
mov edi, dword [esp + 0x1c]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x14]
je 0x4913a5
cmp dword [esp + 0x20], 0
jne 0x4913a5
mov edx, dword [edi + 4]
mov ecx, esi
mov eax, dword [esp + 0x28]
mov edx, dword [edx + eax]
call fcn.0048cf80
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x28], 0x18
inc edx
rol eax, 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
cmp edx, ecx
jl 0x491347
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x491443
cmp dword [esp + 0x38], 0
je 0x4913e5
mov eax, dword [esi + 0x4c]
lea edi, [eax + 1]
add eax, ecx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x34]
mov dword [esi + 0x4c], eax
jmp 0x4913f6
mov edx, ecx
mov ecx, esi
call fcn.00493070
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
test byte [eax + 2], 0xc0
je 0x491421
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov cl, byte [ecx]
cmp cl, 0x98
je 0x491415
cmp cl, 0x9a
jne 0x491421
mov al, byte [eax + 2]
mov ecx, dword [esp + 0x18]
and al, 0xc0
mov byte [ecx + 0x26], al
inc dword [esi + 0x6c]
mov ecx, esi
push 3
push 0
push dword [esp + 0x2c]
call fcn.00491f90
add esp, 0xc
mov ecx, esi
call fcn.004906e0
mov edx, dword [esp + 0x14]
jmp 0x49144b
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x10]
cmp eax, 2
jl 0x49147e
mov ecx, dword [esp + 0x30]
test byte [ecx + 4], 0x80
je 0x49147e
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push dword [eax + 0x18]
push dword [esp + 0x14]
call fcn.004bf390
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4914a5
test eax, eax
jle 0x4914a1
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push dword [eax]
push dword [esp + 0x14]
call fcn.004bf390
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4914a5
mov eax, dword [esp + 0x1c]
test byte [eax + 2], 0x20
je 0x4914d6
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4914ba
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x22
mov ecx, edi
call fcn.00479660
mov eax, dword [esp + 0x30]
add esp, 0x14
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 0x23
mov ecx, edi
push dword [esp + 0x30]
push dword [esp + 0x48]
call fcn.00479660
mov dl, byte [esp + 0x24]
add esp, 0x14
mov ecx, edi
call fcn.00479c40
mov eax, dword [esp + 0x10]
test eax, eax
je 0x491ad7
cmp dword [esp + 0x38], 0
jne 0x491ad7
mov edx, dword [esp + 0x24]
mov ecx, esi
push eax
call fcn.004930a0
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x28]
push str.unknown_function:__s__
push esi
call fcn.0045ca50
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
mov ecx, esi
call fcn.0048f660
add esp, 8
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00479930
mov ecx, dword [esp + 0x34]
mov edi, eax
call fcn.00479930
push dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov edx, 0x19
push 0
mov dword [esp + 0x28], eax
call fcn.00479370
push dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edi
call fcn.0048fc20
push dword [ebp + 8]
mov esi, dword [esp + 0x48]
mov edx, 0x16
push 1
mov ecx, esi
call fcn.00479370
mov edx, edi
mov ecx, esi
call fcn.00479980
push 0
push dword [ebp + 8]
mov edx, 0x25
call fcn.00479370
mov edx, dword [esp + 0x40]
add esp, 0x20
mov ecx, esi
call fcn.00479980
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
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 + 0x10]
push eax
call fcn.00491c40
add esp, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov edx, edi
mov ecx, esi
push eax
call fcn.00491c40
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.00493010
mov dword [esp + 0x24], eax
call fcn.00493010
push 0x20
push dword [esp + 0x28]
mov dword [esp + 0x28], eax
push edx
push dword [esp + 0x24]
mov edx, dword [esp + 0x38]
push 0x53
push edi
call fcn.0048d210
mov edi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x2c]
mov edi, dword [edi + 0x18]
call fcn.00493030
lea eax, [esp + 0x2c]
mov edx, edi
push eax
mov ecx, esi
call fcn.00491c40
mov edx, dword [esp + 0x44]
add esp, 0x1c
mov ecx, esi
push 0x20
push dword [esp + 0x24]
push eax
push dword [esp + 0x24]
push 0x51
push edi
call fcn.0048d210
push dword [ebp + 8]
mov edi, dword [esp + 0x40]
mov edx, 0x48
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
push edi
call fcn.00479220
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.00493030
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00493030
cmp dword [esp + 0x10], 0
je 0x4916f4
mov al, byte [esi + 0x13]
mov byte [esp + 0x2f], al
cmp al, 8
jae 0x4916f4
xor ecx, ecx
lea eax, [esi + 0x7c]
mov edi, edi
mov edx, dword [esp + 0x10]
cmp dword [eax + 0xc], edx
je 0x4916f0
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x4916d0
movzx eax, byte [esp + 0x2f]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x4916f4
mov byte [eax + 6], 1
cmp dword [esp + 0x14], 0
je 0x491ad7
mov al, byte [esi + 0x13]
mov byte [esp + 0x2f], al
cmp al, 8
jae 0x491ad7
xor ecx, ecx
lea eax, [esi + 0x7c]
mov edx, dword [esp + 0x14]
cmp dword [eax + 0xc], edx
je 0x49173d
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x491713
movzx eax, byte [esp + 0x2f]
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 + 6], 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.00490cc0
add esp, 4
mov edi, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [edx + 0x2c]
movsx eax, word [edx + 0x20]
push ecx
inc eax
movsx ecx, word [esi + 0x22]
inc ecx
imul ecx, dword [edx + 0x1c]
mov edx, 0x86
add eax, ecx
mov ecx, edi
push eax
call fcn.00479370
mov ecx, dword [esp + 0x38]
add esp, 8
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x491ad7
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
cmp byte [eax + ecx*8 + 0xd], 0x45
jne 0x491ad7
push dword [ebp + 8]
mov edx, 0x27
mov ecx, edi
call fcn.00479300
mov edi, dword [esp + 0x10]
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1a4], 0
jne 0x4917e8
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.0045ca50
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x4917ff
mov eax, dword [esi + 0x1a0]
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 0x49182c
push dword [edx + 8]
mov edx, 0x15
mov ecx, edi
push 0
push 4
push 0
call fcn.00479660
mov edi, dword [esp + 0x20]
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push dword [edx + 8]
movsx eax, al
mov edx, 0x713
push eax
mov ecx, esi
call fcn.0049cae0
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 + 0x14]
mov ecx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], eax
call fcn.00479930
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x38], edx
test edx, edx
je 0x4918e7
movdqu xmm0, xmmword [edx]
lea eax, [esp + 0x10]
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.00491c40
mov cl, byte [esp + 0x44]
add esp, 4
and dword [esp + 0x44], 0xffffefff
mov edx, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
mov byte [esp + 0x66], cl
mov byte [esp + 0x40], 0x9d
mov byte [esp + 0x70], 0x4f
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x491a30
mov eax, dword [esp + 0x18]
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x24], ecx
inc dword [esi + 0x6c]
mov eax, dword [eax]
test edx, edx
je 0x491914
mov dword [esp + 0x80], eax
jmp 0x491918
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x74], eax
lea eax, [edx - 1]
test edx, eax
jne 0x491955
lea eax, [edx*8 + 4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0045a1b0
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x491963
mov dword [eax + edx*4], 0xffffffff
or eax, 0xffffffff
mov ecx, esi
sub eax, edx
mov edx, dword [esp + 0x20]
push 0x10
push eax
mov dword [esp + 0x24], eax
call fcn.004925d0
mov edx, dword [esp + 0x20]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.00491d90
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x4919b2
push 0
push dword [esp + 0x2c]
mov edx, 0xd
mov ecx, edi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x4919e9
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0xd
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.004906e0
mov edx, dword [edi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x491a0c
mov eax, dword [esp + 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
add eax, 0x30
dec dword [esp + 0x24]
mov dword [esp + 0x18], eax
jne 0x491902
mov eax, dword [esp + 0x3c]
test al, 1
je 0x491a5b
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*2]
inc dword [esi + 0x6c]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 4]
mov edx, dword [edx + eax*8 - 0x18]
call fcn.00491d90
add esp, 4
mov ecx, esi
call fcn.004906e0
jmp 0x491ab4
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x491a7e
push 0
push dword [ebp + 8]
mov edx, 0x19
mov ecx, edi
push 0
call fcn.004791e0
add esp, 0xc
jmp 0x491ab4
mov edx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 4]
mov word [eax + ecx*4], 0x19
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]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x491ad0
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x20]
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret