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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
mov esi, ecx
mov dword [esp + 0x18], edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x14], ecx
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x44], eax
test edi, edi
je 0x461bf8
mov eax, 0x62
test edx, edx
je 0x46125a
movzx eax, byte [edx]
mov dword [esp + 0x24], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x461273.21
movzx eax, byte [eax + 0x462008]
jmp dword [eax*4 + 0x461fa4]
movsx eax, word [edx + 0x22]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 0x14]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 0x28]
cmp byte [eax], 0
jne 0x4612ab
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x4612cf
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x29
mov ecx, edi
push dword [eax + 8]
call fcn.0044df00
add esp, 0xc
jmp 0x461efd
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x1c]
test edi, edi
jns 0x4612ff
mov eax, dword [esi + 0x58]
test eax, eax
jle 0x4612fc
movsx edi, word [edx + 0x20]
add edi, eax
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x5c]
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.00460dd0
add esp, 0x10
mov dword [esp + 0x14], eax
jmp 0x461efd
push ecx
push 0
mov ecx, esi
call fcn.00460990
add esp, 8
jmp 0x461efd
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, edi
call fcn.00460900
add esp, 8
jmp 0x461efd
push 0
push dword [edx + 8]
mov edx, 0x5e
push 0
push ecx
push 0
mov ecx, edi
call fcn.0044e080
add esp, 0x14
jmp 0x461efd
push ecx
push 0
mov edx, 0x18
mov ecx, edi
call fcn.0044e020
add esp, 8
jmp 0x461efd
mov ecx, dword [edx + 8]
add ecx, 2
call fcn.00433520
mov edx, ecx
mov ecx, dword [esp + 0x28]
lea edi, [eax - 1]
mov ecx, dword [ecx]
push edi
call fcn.00434540
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
push 0
push edx
mov eax, edi
cdq
sub eax, edx
mov edx, 0x19
sar eax, 1
push eax
call fcn.0044e080
add esp, 0x14
jmp 0x461efd
movsx eax, word [edx + 0x20]
mov edx, 0x1a
push ecx
push eax
mov ecx, edi
call fcn.0044e020
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x461efd
movsx ecx, word [ecx + 0x20]
or edx, 0xffffffff
mov eax, dword [esi + 0x1ec]
push 0xfffffffffffffffe
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.0044e560
add esp, 8
jmp 0x461efd
mov edi, dword [edx + 0x1c]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.00461200
add esp, 4
mov edi, eax
jmp 0x461f01
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.00461200
mov ecx, dword [esp + 0x20]
add esp, 4
xor edx, edx
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 8]
call fcn.00468040
mov ecx, dword [esp + 0x14]
movsx eax, al
add eax, 0x2c
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x461486
push eax
push ecx
mov edx, 0x1d
mov ecx, edi
call fcn.0044e020
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0044dfc0
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, edi
mov ecx, esi
push 1
call fcn.00460bf0
add esp, 4
jmp 0x461f01
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.004620a0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edi, eax
lea eax, [esp + 0x7c]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004620a0
mov edx, dword [ebp + 8]
add esp, 4
push 0x10
push edx
push eax
push edi
push dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.0045e200
add esp, 0x18
jmp 0x461efd
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.004620a0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edi, eax
lea eax, [esp + 0x7c]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004620a0
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 0x4614e2
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.004620a0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edi, eax
lea eax, [esp + 0x7c]
mov edx, dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004620a0
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push edi
push eax
call fcn.0044df00
add esp, 0xc
jmp 0x461efd
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x81
jne 0x4615a3
push ecx
push 1
mov ecx, esi
call fcn.00460990
mov edi, dword [ebp + 8]
add esp, 8
jmp 0x461f01
cmp al, 0x82
jne 0x4615bf
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, edi
call fcn.00460900
mov edi, dword [ebp + 8]
add esp, 8
jmp 0x461f01
mov ecx, esi
call fcn.004633a0
mov ecx, dword [esp + 0x28]
mov edi, eax
push edi
push 0
mov edx, 0x15
mov dword [esp + 0x80], edi
call fcn.0044e020
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x84]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.004620a0
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x28]
push edx
push edi
push eax
mov edx, 0x57
call fcn.0044df00
mov edi, dword [ebp + 8]
add esp, 0xc
jmp 0x461f01
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.004620a0
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
push ecx
push eax
mov ecx, edi
call fcn.0044e020
add esp, 8
jmp 0x461efd
push ecx
push 1
mov edx, 0x15
mov ecx, edi
call fcn.0044e020
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x80]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.004620a0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push eax
call fcn.0044dfc0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, 0x20
mov edi, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044e020
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, edi
call fcn.0044e450
jmp 0x461efd
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x4616c2
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push esi
call fcn.00433620
add esp, 0xc
jmp 0x461efd
movsx ecx, word [edx + 0x22]
mov eax, dword [eax + 0x20]
add ecx, ecx
mov edi, dword [eax + ecx*8 + 8]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
test dword [edx + 4], 0x4000
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x20], al
je 0x46176c
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov edx, dword [edx + 8]
mov ecx, edx
mov dword [esp + 0x34], edx
call fcn.00433520
mov ecx, dword [esp + 0x38]
push 0
push dword [esp + 0x24]
mov dword [esp + 0x48], eax
push ecx
mov ecx, dword [esp + 0x50]
push eax
call fcn.0046c670
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x46177f
push dword [esp + 0x34]
push dword [esp + 0x44]
push str.unknown_function:__.s__
push esi
call fcn.00433620
add esp, 0x10
jmp 0x461efd
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x461717
mov eax, dword [eax]
mov dword [esp + 0x38], eax
jmp 0x46171f
movzx eax, word [eax + 2]
test eax, 0x200
je 0x461827
mov ecx, edi
call fcn.0044e200
mov edx, dword [esp + 0x30]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x40], eax
mov edx, dword [edx + 8]
mov edx, dword [edx]
call fcn.00462140
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, 1
jle 0x461817
dec eax
mov dword [esp + 0x20], 0x18
mov dword [esp + 0x18], eax
push dword [esp + 0x3c]
mov edx, 0x4a
mov ecx, edi
push dword [ebp + 8]
call fcn.0044e020
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.00460bf0
mov eax, dword [esp + 0x3c]
add esp, 0xc
inc dword [esi + 0x60]
mov ecx, esi
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x20]
push dword [ebp + 8]
mov edx, dword [eax + edx]
call fcn.00462140
add esp, 4
mov ecx, esi
call fcn.00460c40
add dword [esp + 0x20], 0x18
dec dword [esp + 0x18]
jne 0x4617c5
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.0044e260
jmp 0x461efd
test eax, 0x400
mov eax, dword [esp + 0x30]
je 0x461849
mov edx, dword [eax + 8]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx]
call fcn.00462140
add esp, 4
jmp 0x461efd
test eax, eax
je 0x4618ab
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.00463400
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
test byte [eax + 2], 0xc0
je 0x46188b
mov ecx, dword [edx + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
mov cl, byte [ecx]
cmp cl, 0x98
je 0x46187f
cmp cl, 0x9a
jne 0x46188b
mov al, byte [eax + 2]
mov ecx, dword [esp + 0x34]
and al, 0xfc
mov byte [ecx + 0x26], al
inc dword [esi + 0x60]
mov ecx, esi
push 1
push dword [esp + 0x24]
call fcn.00462460
add esp, 8
mov ecx, esi
call fcn.00460c40
mov eax, dword [esp + 0x30]
jmp 0x4618b3
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x38]
cmp edx, 2
jl 0x4618ce
mov ecx, dword [esp + 0x1c]
test byte [ecx + 4], 0x80
je 0x4618ce
mov eax, dword [eax + 8]
push dword [eax + 0x18]
jmp 0x4618d7
test edx, edx
jle 0x4618f0
mov eax, dword [eax + 8]
push dword [eax]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x2c]
call fcn.0048ca70
mov edx, dword [esp + 0x40]
add esp, 8
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x461986
mov edi, dword [esp + 0x30]
mov eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
nop
cmp ecx, 0x20
jge 0x461938
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + eax]
call fcn.0045f7f0
mov edx, dword [esp + 0x38]
test eax, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
je 0x461938
or dword [esp + 0x18], eax
mov edi, dword [esp + 0x24]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x30]
je 0x46196e
cmp dword [esp + 0x3c], 0
jne 0x46196e
mov edx, dword [edi + 8]
mov ecx, esi
mov eax, dword [esp + 0x40]
mov edx, dword [edx + eax]
call fcn.0045df90
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x40], 0x18
inc ecx
rol eax, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
cmp ecx, edx
jl 0x461910
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test byte [eax + 2], 0x20
je 0x4619bb
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x46199f
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0
mov edx, 0x1f
mov ecx, edi
call fcn.0044e080
mov eax, dword [esp + 0x38]
add esp, 0x14
push 0xfffffffffffffffb
push eax
push dword [ebp + 8]
mov edx, 1
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x28]
call fcn.0044e080
mov edx, dword [edi + 4]
add esp, 0x14
test edx, edx
je 0x4619ed
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
mov eax, dword [esp + 0x38]
test eax, eax
je 0x461efd
mov edx, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.00463430
add esp, 4
jmp 0x461efd
push 0
push 0
mov ecx, esi
call fcn.0045fef0
add esp, 8
mov edi, eax
jmp 0x461f01
mov ecx, edi
call fcn.0044e200
mov ecx, dword [esp + 0x28]
mov edi, eax
call fcn.0044e200
push dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
mov edx, 0x18
push 0
mov dword [esp + 0x20], eax
call fcn.0044e020
push dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, esi
push edi
call fcn.004604e0
push dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, 0x15
push 1
call fcn.0044e020
mov edx, edi
mov edi, dword [esp + 0x40]
mov ecx, edi
call fcn.0044e260
push 0
push dword [ebp + 8]
mov edx, 0x20
call fcn.0044e020
mov edx, dword [esp + 0x38]
add esp, 0x20
mov ecx, edi
call fcn.0044e260
jmp 0x461efd
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0xc]
mov edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, esi
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov edi, dword [eax]
lea eax, [esp + 0x78]
push eax
call fcn.004620a0
add esp, 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x7c]
mov edx, edi
mov ecx, esi
push eax
call fcn.004620a0
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.004633a0
mov dword [esp + 0x34], eax
call fcn.004633a0
push 0x10
push dword [esp + 0x38]
mov dword [esp + 0x20], eax
push edx
push dword [esp + 0x48]
mov edx, dword [esp + 0x30]
push 0x50
push edi
call fcn.0045e200
mov edi, dword [esp + 0x58]
mov ecx, esi
mov edx, dword [esp + 0x94]
mov edi, dword [edi + 0x18]
call fcn.004633c0
lea eax, [esp + 0x94]
mov edx, edi
push eax
mov ecx, esi
call fcn.004620a0
mov edx, dword [esp + 0x3c]
add esp, 0x1c
mov ecx, esi
push 0x10
push dword [esp + 0x1c]
push eax
push dword [esp + 0x48]
push 0x4e
push edi
call fcn.0045e200
push dword [ebp + 8]
mov edi, dword [esp + 0x50]
mov edx, 0x45
push dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
push edi
call fcn.0044df00
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.004633c0
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.004633c0
jmp 0x461efd
mov eax, dword [edx + 0x2c]
push ecx
mov dword [esp + 0x1c], eax
movsx ecx, word [eax + 0x26]
movsx eax, word [edx + 0x20]
inc ecx
imul ecx, dword [edx + 0x1c]
inc eax
mov edx, 0x7a
add eax, ecx
mov ecx, edi
push eax
call fcn.0044e020
mov ecx, dword [esp + 0x24]
add esp, 8
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x461efd
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x15], 0x65
jne 0x461efd
push dword [ebp + 8]
mov edx, 0x22
mov ecx, edi
call fcn.0044dfc0
add esp, 4
jmp 0x461efd
cmp dword [esi + 0x1b8], 0
jne 0x461c0e
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.00433620
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x461c25
mov eax, dword [esi + 0x1b4]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
mov al, byte [edx + 1]
push 0
push dword [edx + 8]
cmp al, 4
jne 0x461c4b
push 0
push 4
push 0
mov edx, 0x14
mov ecx, edi
call fcn.0044e080
add esp, 0x14
jmp 0x461efd
movsx eax, al
mov edx, 0x713
push eax
mov ecx, esi
call fcn.0046bc40
add esp, 0xc
jmp 0x461efd
mov eax, dword [edx + 0x14]
mov ecx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], eax
call fcn.0044e200
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
je 0x461d1f
movdqu xmm0, xmmword [eax]
lea ecx, [esp + 0x78]
mov edx, eax
push ecx
movdqu xmmword [esp + 0x84], xmm0
mov ecx, esi
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esp + 0x94], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [esp + 0xa4], xmm0
call fcn.004620a0
mov cl, byte [esp + 0x84]
add esp, 4
and dword [esp + 0x84], 0xffffefff
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
mov byte [esp + 0xa6], cl
mov byte [esp + 0x80], 0x84
mov byte [esp + 0x48], 0x4c
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x40]
or edx, 0xffffffff
lea ecx, [eax - 1]
test ecx, ecx
jle 0x461e6e
mov eax, dword [esp + 0x20]
dec ecx
shr ecx, 1
inc ecx
mov dword [esp + 0x34], ecx
lea ecx, [ecx]
inc dword [esi + 0x60]
cmp dword [esp + 0x24], 0
mov eax, dword [eax]
je 0x461d52
mov dword [esp + 0x58], eax
jmp 0x461d56
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x1c], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x24], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x461dae
mov eax, dword [edi]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x3c], eax
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x3c]
push eax
mov dword [esp + 0x34], edx
call fcn.00431510
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x461da4
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
call fcn.00431240
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
or edx, 0xffffffff
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x461dbc
mov dword [eax + ecx*4], 0xffffffff
sub edx, ecx
mov ecx, esi
push 8
mov dword [esp + 0x34], edx
push edx
mov edx, dword [esp + 0x20]
call fcn.00462950
mov edx, dword [esp + 0x28]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.00462140
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x461dff
mov ecx, edi
call fcn.0044de80
test eax, eax
jne 0x461e33
mov eax, dword [esp + 0x3c]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0xe
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.00460c40
or edx, 0xffffffff
mov ecx, edx
sub ecx, dword [esp + 0x30]
js 0x461e55
mov edx, dword [edi + 0x28]
test edx, edx
je 0x461e52
mov eax, dword [edi + 0x1c]
mov dword [edx + ecx*4], eax
or edx, 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0x30
dec dword [esp + 0x34]
mov dword [esp + 0x20], eax
jne 0x461d40
mov eax, dword [esp + 0x40]
test al, 1
je 0x461e99
mov edx, dword [esp + 0x28]
lea eax, [eax + eax*2]
inc dword [esi + 0x60]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*8 - 0x18]
call fcn.00462140
add esp, 4
mov ecx, esi
call fcn.00460c40
jmp 0x461ee7
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x461eb4
mov ecx, edi
call fcn.0044de80
test eax, eax
jne 0x461ee7
mov eax, dword [esp + 0x18]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [ebp + 8]
mov word [eax + ecx*4], 0x18
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
or ecx, 0xffffffff
sub ecx, dword [esp + 0x44]
js 0x461efd
mov edx, dword [edi + 0x28]
test edx, edx
je 0x461efd
mov eax, dword [edi + 0x1c]
mov dword [edx + ecx*4], eax
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
test edx, edx
je 0x461f40
mov al, byte [esi + 0x13]
mov byte [esp + 0x2f], al
cmp al, 8
jae 0x461f40
xor ecx, ecx
lea eax, [esi + 0x68]
lea esp, [esp]
cmp dword [eax + 0x10], edx
je 0x461f3c
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x461f20
movzx eax, byte [esp + 0x2f]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x461f40
mov byte [eax + 8], 1
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x461f8c
mov al, byte [esi + 0x13]
mov byte [esp + 0x2f], al
cmp al, 8
jae 0x461f8c
xor ecx, ecx
lea eax, [esi + 0x68]
cmp dword [eax + 0x10], edx
je 0x461f88
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x461f58
movzx eax, byte [esp + 0x2f]
mov dword [esi + eax*4 + 0x1c], edx
mov eax, edi
inc byte [esi + 0x13]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret
mov byte [eax + 8], 1
mov ecx, dword [esp + 0xbc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret