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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x50e74c]
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 0x4381a8
mov eax, 0x62
test edx, edx
je 0x43780a
movzx eax, byte [edx]
mov dword [esp + 0x24], eax
add eax, 0xffffffed
cmp eax, 0x8a
ja case.0x437823.21
movzx eax, byte [eax + 0x4385b8]
jmp dword [eax*4 + 0x438554]
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 0x43785b
mov edi, dword [ecx + 0x10]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
cmp byte [eax + 1], 0
je 0x43787f
mov edx, dword [ebp + 8]
push edx
push dword [ecx + 0xc]
mov edx, 0x29
mov ecx, edi
push dword [eax + 8]
call fcn.00424470
add esp, 0xc
jmp 0x4384ad
mov ecx, dword [ebp + 8]
mov edi, dword [edx + 0x1c]
test edi, edi
jns 0x4378af
mov eax, dword [esi + 0x58]
test eax, eax
jle 0x4378ac
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.004c515f
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.00437380
add esp, 0x10
mov dword [esp + 0x14], eax
jmp 0x4384ad
push ecx
push 0
mov ecx, esi
call fcn.00436f40
add esp, 8
jmp 0x4384ad
mov edx, dword [edx + 8]
push ecx
push 0
mov ecx, edi
call fcn.00436eb0
add esp, 8
jmp 0x4384ad
push 0
push dword [edx + 8]
mov edx, 0x5e
push 0
push ecx
push 0
mov ecx, edi
call fcn.004245f0
add esp, 0x14
jmp 0x4384ad
push ecx
push 0
mov edx, 0x18
mov ecx, edi
call fcn.00424590
add esp, 8
jmp 0x4384ad
mov ecx, dword [edx + 8]
add ecx, 2
call fcn.00409a90
mov edx, ecx
mov ecx, dword [esp + 0x28]
lea edi, [eax - 1]
mov ecx, dword [ecx]
push edi
call fcn.0040aab0
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.004245f0
add esp, 0x14
jmp 0x4384ad
movsx eax, word [edx + 0x20]
mov edx, 0x1a
push ecx
push eax
mov ecx, edi
call fcn.00424590
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [ecx + 8]
cmp byte [eax + 1], 0
je 0x4384ad
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.00424ad0
add esp, 8
jmp 0x4384ad
mov edi, dword [edx + 0x1c]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004377b0
add esp, 4
mov edi, eax
jmp 0x4384b1
mov edx, dword [edx + 0xc]
push ecx
mov ecx, esi
call fcn.004377b0
mov ecx, dword [esp + 0x20]
add esp, 4
xor edx, edx
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 8]
call fcn.0043e5f0
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 0x437a36
push eax
push ecx
mov edx, 0x1d
mov ecx, edi
call fcn.00424590
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.00424530
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, edi
mov ecx, esi
push 1
call fcn.004371a0
add esp, 4
jmp 0x4384b1
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00438650
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.00438650
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.004347b0
add esp, 0x18
jmp 0x4384ad
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00438650
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.00438650
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 0x437a92
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00438650
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.00438650
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.00424470
add esp, 0xc
jmp 0x4384ad
mov edx, dword [edx + 0xc]
mov al, byte [edx]
cmp al, 0x81
jne 0x437b53
push ecx
push 1
mov ecx, esi
call fcn.00436f40
mov edi, dword [ebp + 8]
add esp, 8
jmp 0x4384b1
cmp al, 0x82
jne 0x437b6f
mov edx, dword [edx + 8]
push ecx
push 1
mov ecx, edi
call fcn.00436eb0
mov edi, dword [ebp + 8]
add esp, 8
jmp 0x4384b1
mov ecx, esi
call fcn.00439950
mov ecx, dword [esp + 0x28]
mov edi, eax
push edi
push 0
mov edx, 0x15
mov dword [esp + 0x80], edi
call fcn.00424590
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x84]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.00438650
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x28]
push edx
push edi
push eax
mov edx, 0x57
call fcn.00424470
mov edi, dword [ebp + 8]
add esp, 0xc
jmp 0x4384b1
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.00438650
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.00424590
add esp, 8
jmp 0x4384ad
push ecx
push 1
mov edx, 0x15
mov ecx, edi
call fcn.00424590
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x80]
push eax
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.00438650
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, edi
push eax
call fcn.00424530
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, 0x20
mov edi, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00424590
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, edi
call fcn.004249c0
jmp 0x4384ad
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x437c72
push dword [edx + 8]
push str.misuse_of_aggregate:__s__
push esi
call fcn.00409b90
add esp, 0xc
jmp 0x4384ad
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.004c515f
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 0x437d1c
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.00409a90
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.00442c20
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x437d2f
push dword [esp + 0x34]
push dword [esp + 0x44]
push str.unknown_function:__.s__
push esi
call fcn.00409b90
add esp, 0x10
jmp 0x4384ad
mov eax, dword [edx + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x437cc7
mov eax, dword [eax]
mov dword [esp + 0x38], eax
jmp 0x437ccf
movzx eax, word [eax + 2]
test eax, 0x200
je 0x437dd7
mov ecx, edi
call fcn.00424770
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.004386f0
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, 1
jle 0x437dc7
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.00424590
mov edx, dword [ebp + 8]
mov ecx, esi
push 1
call fcn.004371a0
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.004386f0
add esp, 4
mov ecx, esi
call fcn.004371f0
add dword [esp + 0x20], 0x18
dec dword [esp + 0x18]
jne 0x437d75
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.004247d0
jmp 0x4384ad
test eax, 0x400
mov eax, dword [esp + 0x30]
je 0x437df9
mov edx, dword [eax + 8]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx]
call fcn.004386f0
add esp, 4
jmp 0x4384ad
test eax, eax
je 0x437e5b
mov edx, dword [esp + 0x38]
mov ecx, esi
call fcn.004399b0
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
test byte [eax + 2], 0xc0
je 0x437e3b
mov ecx, dword [edx + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
mov cl, byte [ecx]
cmp cl, 0x98
je 0x437e2f
cmp cl, 0x9a
jne 0x437e3b
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.00438a10
add esp, 8
mov ecx, esi
call fcn.004371f0
mov eax, dword [esp + 0x30]
jmp 0x437e63
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x38]
cmp edx, 2
jl 0x437e7e
mov ecx, dword [esp + 0x1c]
test byte [ecx + 4], 0x80
je 0x437e7e
mov eax, dword [eax + 8]
push dword [eax + 0x18]
jmp 0x437e87
test edx, edx
jle 0x437ea0
mov eax, dword [eax + 8]
push dword [eax]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x2c]
call fcn.00463020
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 0x437f36
mov edi, dword [esp + 0x30]
mov eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
nop
cmp ecx, 0x20
jge 0x437ee8
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + eax]
call fcn.00435da0
mov edx, dword [esp + 0x38]
test eax, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
je 0x437ee8
or dword [esp + 0x18], eax
mov edi, dword [esp + 0x24]
test byte [edi + 2], 0x20
mov edi, dword [esp + 0x30]
je 0x437f1e
cmp dword [esp + 0x3c], 0
jne 0x437f1e
mov edx, dword [edi + 8]
mov ecx, esi
mov eax, dword [esp + 0x40]
mov edx, dword [edx + eax]
call fcn.00434540
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 0x437ec0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test byte [eax + 2], 0x20
je 0x437f6b
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x437f4f
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.004245f0
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.004245f0
mov edx, dword [edi + 4]
add esp, 0x14
test edx, edx
je 0x437f9d
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 0x4384ad
mov edx, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.004399e0
add esp, 4
jmp 0x4384ad
push 0
push 0
mov ecx, esi
call fcn.004364a0
add esp, 8
mov edi, eax
jmp 0x4384b1
mov ecx, edi
call fcn.00424770
mov ecx, dword [esp + 0x28]
mov edi, eax
call fcn.00424770
push dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
mov edx, 0x18
push 0
mov dword [esp + 0x20], eax
call fcn.00424590
push dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, esi
push edi
call fcn.00436a90
push dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, 0x15
push 1
call fcn.00424590
mov edx, edi
mov edi, dword [esp + 0x40]
mov ecx, edi
call fcn.004247d0
push 0
push dword [ebp + 8]
mov edx, 0x20
call fcn.00424590
mov edx, dword [esp + 0x38]
add esp, 0x20
mov ecx, edi
call fcn.004247d0
jmp 0x4384ad
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.00438650
add esp, 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x7c]
mov edx, edi
mov ecx, esi
push eax
call fcn.00438650
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.00439950
mov dword [esp + 0x34], eax
call fcn.00439950
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.004347b0
mov edi, dword [esp + 0x58]
mov ecx, esi
mov edx, dword [esp + 0x94]
mov edi, dword [edi + 0x18]
call fcn.00439970
lea eax, [esp + 0x94]
mov edx, edi
push eax
mov ecx, esi
call fcn.00438650
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.004347b0
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.00424470
add esp, 0x24
mov edx, edi
mov ecx, esi
call fcn.00439970
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.00439970
jmp 0x4384ad
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.00424590
mov ecx, dword [esp + 0x24]
add esp, 8
movzx eax, word [ecx + 0x20]
test ax, ax
js 0x4384ad
cwde
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x15], 0x65
jne 0x4384ad
push dword [ebp + 8]
mov edx, 0x22
mov ecx, edi
call fcn.00424530
add esp, 4
jmp 0x4384ad
cmp dword [esi + 0x1b8], 0
jne 0x4381be
push str.RAISE___may_only_be_used_within_a_trigger_program
push esi
call fcn.00409b90
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
cmp byte [edx + 1], 2
jne 0x4381d5
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 0x4381fb
push 0
push 4
push 0
mov edx, 0x14
mov ecx, edi
call fcn.004245f0
add esp, 0x14
jmp 0x4384ad
movsx eax, al
mov edx, 0x713
push eax
mov ecx, esi
call fcn.004421f0
add esp, 0xc
jmp 0x4384ad
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.00424770
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4382cf
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.00438650
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 0x43841e
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 0x438302
mov dword [esp + 0x58], eax
jmp 0x438306
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 0x43835e
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.00407a10
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x438354
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
call fcn.00407740
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 0x43836c
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.00438f00
mov edx, dword [esp + 0x28]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [edx + 0x18]
call fcn.004386f0
mov eax, dword [edi + 0x1c]
add esp, 0xc
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x20], eax
jg 0x4383af
mov ecx, edi
call fcn.004243f0
test eax, eax
jne 0x4383e3
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.004371f0
or edx, 0xffffffff
mov ecx, edx
sub ecx, dword [esp + 0x30]
js 0x438405
mov edx, dword [edi + 0x28]
test edx, edx
je 0x438402
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 0x4382f0
mov eax, dword [esp + 0x40]
test al, 1
je 0x438449
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.004386f0
add esp, 4
mov ecx, esi
call fcn.004371f0
jmp 0x438497
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x20], eax
jg 0x438464
mov ecx, edi
call fcn.004243f0
test eax, eax
jne 0x438497
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 0x4384ad
mov edx, dword [edi + 0x28]
test edx, edx
je 0x4384ad
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 0x4384f0
mov al, byte [esi + 0x13]
mov byte [esp + 0x2f], al
cmp al, 8
jae 0x4384f0
xor ecx, ecx
lea eax, [esi + 0x68]
lea esp, [esp]
cmp dword [eax + 0x10], edx
je 0x4384ec
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4384d0
movzx eax, byte [esp + 0x2f]
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
jmp 0x4384f0
mov byte [eax + 8], 1
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x43853c
mov al, byte [esi + 0x13]
mov byte [esp + 0x2f], al
cmp al, 8
jae 0x43853c
xor ecx, ecx
lea eax, [esi + 0x68]
cmp dword [eax + 0x10], edx
je 0x438538
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x438508
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.004c515f
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.004c515f
mov esp, ebp
pop ebp
ret