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

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [eax + 0xc]
push esi
mov esi, dword [esp + 0x94]
xor ebx, ebx
push edi
mov eax, ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], ecx
call fcn.10053740
mov dword [esp + 0x28], eax
mov eax, ebp
call fcn.10053740
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x44], eax
movzx eax, byte [esi + 4]
mov esi, dword [esi + 0x18]
mov edi, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], edi
cmp eax, 0x71
je 0x1007d5e1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], 1
cmp byte [eax + 0x1e], bl
jne 0x1007d5e1
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov dword [esp + 0x58], eax
jmp 0x1007d530
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov eax, dword [esp + 0x24]
cmp eax, dword [edx]
jg 0x1007d5d9
mov ecx, dword [esi + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x1007d562
add ecx, 0xe
movzx edx, word [ecx]
cmp edx, dword [esp + 0x24]
je 0x1007d562
inc eax
add ecx, 0x14
cmp eax, edi
jl 0x1007d551
cmp eax, edi
jne 0x1007d5c8
mov eax, dword [esp + 0x18]
push ebx
push 0x81
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.1005fb40
add esp, 0xc
cmp eax, ebx
je 0x1007d676
mov edx, dword [esp + 0x24]
mov ecx, 0x400
or word [eax + 2], cx
mov dword [eax + 4], edx
mov ecx, eax
mov eax, dword [esp + 0x94]
mov edx, esi
call fcn.10060930
mov dx, word [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0xc]
mov word [ecx + eax + 0xe], dx
inc edi
add eax, 0x14
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
inc dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
je 0x1007d530
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], edi
mov esi, dword [esp + 0x18]
lea ecx, [edi*4]
call fcn.1003ac30
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x1007d80c
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0xc]
xor eax, eax
cmp edi, ebx
jle 0x1007d620
mov edx, dword [esp + 0x48]
add ecx, 0xe
movzx esi, word [ecx]
dec esi
mov dword [edx + eax*4], esi
inc eax
add ecx, 0x14
cmp eax, edi
jl 0x1007d611
mov esi, dword [esp + 0x18]
lea ecx, [edi + edi*4 + 0x10]
cmp esi, ebx
je 0x1007d68a
cmp byte [esi + 0x1e], bl
jne 0x1007d80c
cmp byte [esi + 0xea], bl
je 0x1007d68a
movzx edx, word [esi + 0xe8]
cmp ecx, edx
jg 0x1007d68a
mov eax, dword [esi + 0xf4]
cmp eax, ebx
je 0x1007d68a
mov ecx, dword [eax]
inc dword [esi + 0xec]
mov dword [esi + 0xf4], ecx
mov ecx, dword [esi + 0xec]
cmp ecx, dword [esi + 0xf0]
jle 0x1007d6ea
mov dword [esi + 0xf0], ecx
jmp 0x1007d6ea
mov dword [esp + 0x3c], edi
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
lea edx, [ecx - 1]
cmp edx, 0x7ffffefe
ja 0x1007d757
cmp dword [0x100cc3c8], ebx
je 0x1007d74b
mov eax, dword [0x100ce868]
cmp eax, ebx
je 0x1007d6b8
push eax
call dword [0x100cc410]
add esp, 4
lea ebx, [esp + 0x58]
lea eax, [edi + edi*4 + 0x10]
call fcn.1003a570
mov eax, dword [0x100ce868]
test eax, eax
je 0x1007d6d8
push eax
call dword [0x100cc418]
add esp, 4
mov eax, dword [esp + 0x58]
xor ebx, ebx
cmp eax, ebx
jne 0x1007d6ea
cmp esi, ebx
je 0x1007d6ea
mov byte [esi + 0x1e], 1
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x1007d810
lea ecx, [eax + edi*4 + 0xc]
mov edx, esi
mov dword [eax + 8], ecx
mov word [eax + 6], di
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x49]
xor esi, esi
cmp edi, ebx
mov byte [eax + 4], cl
jle 0x1007d810
mov edx, dword [esp + 0x24]
xor eax, eax
add edx, 0xc
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + edx]
mov edx, pe_nt_image_headers32
mov dword [esp + 0x60], ecx
test word [ecx + 2], dx
je 0x1007d75b
mov ecx, dword [ecx + 0x14]
jmp 0x1007d7d6
push ecx
call dword [0x100cc3e0]
add esp, 4
jmp 0x1007d6de
xor eax, eax
jmp 0x1007d6e2
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x40], ecx
cmp eax, ebx
je 0x1007d808
mov edx, dword [esp + 0x94]
push ecx
push eax
push edx
call fcn.1007c780
add esp, 0xc
cmp eax, ebx
jne 0x1007d7ba
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x40]
cmp edx, dword [ecx]
jge 0x1007d7ba
mov ecx, dword [ecx + 0xc]
mov eax, edx
mov edx, dword [esp + 0x94]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4]
push edx
call fcn.1005f6c0
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov edx, pe_nt_image_headers32
or word [ecx + 2], dx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
add dword [esp + 0x38], 4
mov dword [edx], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
mov dl, byte [eax + edx + 0xc]
mov ecx, dword [ecx + 8]
mov byte [esi + ecx], dl
inc esi
add eax, 0x14
cmp esi, edi
mov dword [esp + 0x58], eax
jl 0x1007d72a
jmp 0x1007d810
xor eax, eax
jmp 0x1007d78e
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
push ebx
push eax
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push eax
call fcn.10060420
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp dword [esp + 0x1c], 0x71
mov dword [ecx + 0x18], eax
jne 0x1007d849
mov dword [esp + 0x2c], ebx
jmp 0x1007da63
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
inc eax
cmp eax, ecx
jg 0x1007d869
lea edx, [eax + esi]
sub ecx, eax
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], ecx
jmp 0x1007d874
mov ecx, dword [edi + 0x48]
add eax, ecx
lea esi, [ecx + 1]
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x60], eax
jg 0x1007d893
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007d8b7
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
lea esi, [esi + esi*4 + 0x10]
mov dword [esp + 0x60], esi
cmp edi, ebx
je 0x1007d922
cmp byte [edi + 0x1e], bl
je 0x1007d8db
mov dword [esp + 0x20], ebx
mov esi, ebx
jmp 0x1007d999
cmp byte [edi + 0xea], bl
je 0x1007d922
movzx edx, word [edi + 0xe8]
cmp esi, edx
jg 0x1007d922
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x1007d922
mov ecx, dword [eax]
inc dword [edi + 0xec]
mov dword [edi + 0xf4], ecx
mov ecx, dword [edi + 0xec]
cmp ecx, dword [edi + 0xf0]
jle 0x1007d91a
mov dword [edi + 0xf0], ecx
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x1007d986
lea edx, [esi - 1]
cmp edx, 0x7ffffefe
ja 0x1007da51
cmp dword [0x100cc3c8], ebx
je 0x1007da42
mov eax, dword [0x100ce868]
cmp eax, ebx
je 0x1007d950
push eax
call dword [0x100cc410]
add esp, 4
lea ebx, [esp + 0x58]
mov eax, esi
call fcn.1003a570
mov eax, dword [0x100ce868]
test eax, eax
je 0x1007d96e
push eax
call dword [0x100cc418]
add esp, 4
mov eax, dword [esp + 0x58]
xor ebx, ebx
cmp eax, ebx
jne 0x1007d980
cmp edi, ebx
je 0x1007d980
mov byte [edi + 0x1e], 1
mov dword [esp + 0x20], eax
mov esi, eax
cmp esi, ebx
je 0x1007d999
mov eax, dword [esp + 0x60]
push eax
push ebx
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [esp + 0x4c], esi
cmp esi, ebx
je 0x1007da5c
mov eax, dword [esp + 0x38]
lea ecx, [esi + eax*4 + 0xc]
mov dword [esi + 8], ecx
mov word [esi + 6], ax
mov edx, dword [edi + 8]
mov eax, dword [edx + 0xc]
mov cl, byte [eax + 0x49]
xor edi, edi
cmp dword [esp + 0x38], ebx
mov byte [esi + 4], cl
jle 0x1007da5c
add esi, 0xc
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x40], ebx
mov edi, edi
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x1007da58
mov edx, dword [esp + 0x94]
push edi
push eax
push edx
call fcn.1007c780
add esp, 0xc
cmp eax, ebx
jne 0x1007da1d
mov ecx, dword [esi]
cmp edi, dword [ecx]
jge 0x1007da1d
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x40]
mov eax, dword [eax + edx]
push ecx
call fcn.1005f6c0
add esp, 4
mov ecx, dword [esp + 0x58]
add dword [esp + 0x40], 0x14
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 8]
mov byte [edi + edx], bl
inc edi
add ecx, 4
cmp edi, dword [esp + 0x38]
mov dword [esp + 0x58], ecx
jl 0x1007d9e0
jmp 0x1007da63
push esi
call dword [0x100cc3e0]
add esp, 4
jmp 0x1007d974
xor eax, eax
jmp 0x1007d978
xor eax, eax
jmp 0x1007d9fd
mov esi, dword [esp + 0x98]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x94]
push str.ORDER
mov dword [esi + 0x1c], ebx
mov dword [eax + 0x24], ebx
mov eax, dword [esi + 0x18]
push esi
push edi
call fcn.1005f000
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp dword [eax + 0x1c], ebx
jne 0x1007daa1
push str.ORDER
push eax
mov eax, dword [eax + 0x18]
push edi
call fcn.1005f000
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
push esi
push edi
call fcn.1007c480
add esp, 0xc
cmp dword [esi + 0x30], ebx
je 0x1007db79
cmp dword [esp + 0x1c], 0x71
jne 0x1007db79
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x38], eax
inc eax
mov dword [edi + 0x48], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x1007dae2
inc eax
mov dword [esp + 0x58], eax
jmp 0x1007dae9
mov edx, dword [esi + 0x30]
mov dword [esp + 0x58], edx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x60], eax
jg 0x1007db04
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007db30
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x60], eax
jg 0x1007db4b
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007db81
mov eax, dword [esp + 0x60]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x38]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
mov byte [eax], 0xe
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x1007db81
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 0x28]
mov edi, dword [esp + 0x18]
push eax
push edi
call fcn.10060010
mov ecx, dword [esi + 0x2c]
push ecx
push edi
mov dword [esi + 0x28], ebx
call fcn.10060010
mov edi, dword [esp + 0xa4]
mov dword [esi + 0x2c], ebx
mov eax, dword [edi + 0x48]
inc eax
lea ecx, [eax + 1]
mov dword [esp + 0x24], ecx
inc ecx
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
add edx, 2
mov dword [edi + 0x48], edx
mov dword [esp + 0x60], edx
mov dl, 0xa
mov byte [esp + 0x90], dl
mov dword [esp + 0x94], eax
mov byte [esp + 0x91], bl
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x80], dl
mov dword [esp + 0x84], ecx
mov byte [esp + 0x81], bl
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x10
cmp dword [ebp + 0x10], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], ecx
jg 0x1007dc37
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007dc33
mov dword [esp + 0x5c], 1
jmp 0x1007dc5f
mov ecx, dword [esp + 0x60]
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x80]
push ecx
mov dword [eax + 0x30], edx
mov edx, dword [esp + 0x98]
push eax
push edx
call fcn.100801e0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x60], eax
jg 0x1007dca5
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007dcd2
mov eax, dword [esp + 0x60]
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x60], eax
jg 0x1007dced
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007dd15
mov eax, dword [esp + 0x60]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x40]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x68], edx
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x98]
push esi
push eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
call fcn.100801e0
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ecx
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x60], eax
jg 0x1007dd6b
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007dd98
mov eax, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [ebp + 0xc], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x60], eax
jg 0x1007ddb3
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007dddc
mov eax, dword [esp + 0x60]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x98]
push 0xfffffffffffffff0
push edx
inc eax
push eax
push edi
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x44]
push esi
push ecx
call fcn.1007d070
add esp, 0x20
cmp dword [esp + 0x1c], 0x71
mov dword [esp + 0x40], eax
je 0x1007de27
mov eax, dword [esp + 0x1c]
cmp eax, 0x70
jne 0x1007de5e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
push edx
push 0xffffffffffffffef
push eax
mov eax, dword [esp + 0xa0]
push ecx
push edi
lea edx, [esp + 0x84]
push edx
push esi
push eax
mov eax, dword [esp + 0x4c]
call fcn.1007d070
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
add esp, 0x20
cmp eax, 0x72
je 0x1007df7d
cmp eax, 0x73
je 0x1007df7d
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007de8d
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007de8d
mov dword [esp + 0x4c], 1
jmp 0x1007debd
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
jg 0x1007ded8
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007df04
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007df17
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007df40
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
inc ecx
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007df53
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007dfc3
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x4c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x1007dfc3
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007df97
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007df97
mov esi, 1
jmp 0x1007dfbf
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x28]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x38], esi
cmp dword [esp + 0x1c], 0x73
jne 0x1007dfd7
mov edx, dword [esp + 0x38]
mov dword [esp + 0x58], edx
jmp 0x1007e0e2
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007dff4
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007dff4
mov dword [esp + 0x4c], 1
jmp 0x1007e024
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x58], edx
jg 0x1007e03f
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e06c
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
inc ecx
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e07f
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e0a7
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e0ba
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e0e2
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x4c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e0ff
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007e0ff
mov dword [esp + 0x40], 1
jmp 0x1007e130
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
inc ecx
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x40], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
jg 0x1007e14b
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e173
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e186
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e1b2
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e1c5
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e1ed
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x1c]
cmp eax, 0x71
jne 0x1007e203
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
jmp 0x1007e2da
cmp eax, 0x73
jne 0x1007e21a
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
inc eax
mov dword [esp + 0x60], eax
jmp 0x1007e2da
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e234
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007e234
mov esi, 1
jmp 0x1007e25c
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x34]
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e273
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e29f
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e2b2
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e2da
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x40], esi
cmp eax, 0x71
je 0x1007e2ef
cmp eax, 0x70
jne 0x1007e32b
cmp dword [ebp + 0x10], esi
jg 0x1007e2ff
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e32b
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x50]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x54]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e33e
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e367
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
inc ecx
mov byte [eax], 4
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e37a
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e3a6
mov edx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e3b9
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e3e1
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x44]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jle 0x1007e3f6
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e409
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e431
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e444
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e46c
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e47f
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e4ab
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x64]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e4be
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e4eb
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x68]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e4fe
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e52a
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e53d
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e569
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x58]
mov byte [eax], 0x1a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x1007e582
mov edx, dword [esp + 0x44]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e59c
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007e59c
mov eax, 1
jmp 0x1007e5c2
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x17
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, esi
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
cmp ecx, ebx
je 0x1007e610
cmp byte [edi + 0x1e], bl
jne 0x1007e610
cmp eax, ebx
jge 0x1007e5d9
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.10053a00
mov eax, dword [esp + 0x48]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1007e5ff
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1007e61e
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf1
jmp 0x1007e61e
mov ecx, dword [esp + 0x48]
mov eax, 0xfffffff1
call fcn.10053a00
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
jg 0x1007e64b
mov edi, ebp
call fcn.10053530
test eax, eax
je 0x1007e64b
mov esi, 1
jmp 0x1007e67b
mov eax, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov ecx, dword [esp + 0x68]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x18
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp]
mov eax, esi
cmp ecx, ebx
je 0x1007e6d0
cmp byte [edi + 0x1e], bl
jne 0x1007e6d0
cmp esi, ebx
jge 0x1007e694
mov eax, dword [ebp + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.10053a00
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x1007e6ba
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x1007e6de
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x1007e6de
mov ecx, dword [esp + 0x24]
mov eax, 0xfffffff0
call fcn.10053a00
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x1007e6f1
mov edi, ebp
call fcn.10053530
test eax, eax
jne 0x1007e721
mov ecx, dword [ebp + 0x14]
inc dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov byte [eax], 0x19
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [esp + 0x94]
cmp dword [esp + 0x2c], ebx
je 0x1007e751
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
inc edi
push eax
mov eax, edi
call fcn.10062170
add esp, 4
cmp edi, dword [esi + 0x38]
jle 0x1007e751
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], ecx
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x1007e76a
mov edx, dword [esp + 0x28]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x9c]
cmp byte [eax], 5
mov ebp, dword [esp + 0x30]
jne 0x1007e799
mov eax, dword [ebp + 0x1c]
mov ecx, ebp
cmp eax, ebx
je 0x1007e78c
mov ecx, eax
mov eax, dword [ecx + 0x1c]
cmp eax, ebx
jne 0x1007e783
mov ecx, dword [ecx]
push ecx
push ebx
push esi
call fcn.1007bdc0
add esp, 0xc
mov edi, dword [esp + 0x98]
mov esi, dword [edi + 0x1c]
cmp esi, ebx
je 0x1007e7bc
mov ebx, dword [esp + 0x18]
push esi
push ebx
call fcn.1007a550
push esi
push ebx
call fcn.1003a9f0
add esp, 0x10
mov dword [edi + 0x1c], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret