Function at 0x10098710
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
mov ecx, 0x10103106
mov dword [esp + 0x18], esi
call fcn.100d96c4
mov eax, dword [esi]
mov ebx, dword [esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x38]
dec eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], eax
dec eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], ebx
mov edx, dword [eax + 0x34]
mov cl, byte [eax + 4]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x30]
mov byte [esp + 0x13], cl
mov dword [esp + 0x24], edx
mov edi, dword [edx]
mov dword [esp + 0x54], edi
cmp cl, 0x80
je 0x10098859
mov ecx, dword [esp + 0x30]
mov esi, 1
cmp byte [ecx + 0x51], 0
jne 0x10098855
lea ecx, [edi + edi*2]
shl ecx, 3
mov dword [esp + 0x48], ecx
mov eax, dword [eax]
cmp esi, dword [eax]
jg 0x10098855
xor ecx, ecx
test edi, edi
jle 0x100987cb
add edx, 0x18
movzx eax, word [edx]
cmp eax, esi
je 0x100987c7
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x100987b8
mov edx, dword [esp + 0x24]
cmp ecx, edi
jne 0x10098842
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x58]
push 0
push eax
mov edx, 0x93
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.10073130
add esp, 8
test eax, eax
je 0x100988ba
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
or dword [eax + 4], 0x400
push eax
mov dword [eax + 8], esi
call fcn.10074560
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov dword [eax + 0x30], edx
test edx, edx
je 0x10098846
mov ecx, dword [esp + 0x48]
inc edi
mov dword [esp + 0x54], edi
mov word [ecx + edx + 0x18], si
add ecx, 0x18
mov dword [esp + 0x48], ecx
jmp 0x10098846
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc esi
cmp byte [ecx + 0x51], 0
je 0x100987a5
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
lea eax, [edi*4 + 4]
push 0
push eax
call fcn.1003ee80
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x100988c6
mov ecx, 1
mov dword [eax], edi
cmp edi, ecx
jl 0x100988a3
mov edx, dword [esp + 0x24]
mov ebx, eax
add edx, 0x18
nop dword [eax + eax]
movzx eax, word [edx]
lea edx, [edx + 0x18]
dec eax
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x10098890
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov edx, edi
push ecx
mov ecx, esi
call fcn.100975c0
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x100988d2
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [edi + 0x30], eax
mov ecx, dword [esi]
push 0
call fcn.10073d70
mov ecx, dword [esp + 0x24]
add esp, 4
cmp byte [esp + 0x13], 0x80
mov dword [ecx + 0x30], eax
jne 0x10098902
mov dword [esp + 0x40], 0
jmp 0x100989c6
mov eax, dword [edi]
push 0
mov ecx, dword [eax]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], ecx
inc ecx
lea edx, [eax + 1]
add eax, ecx
push edx
mov dword [esp + 0x48], edx
mov ecx, ebx
push 0
mov edx, 0x46
mov dword [esi + 0x2c], eax
call fcn.1005e520
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x30]
push 1
call fcn.10096160
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x100989c6
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x100989c2
mov ebx, dword [esp + 0x18]
xor ecx, ecx
add eax, 0x14
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
mov edx, dword [edi + 0x34]
test edx, edx
je 0x10098981
push esi
mov ecx, ebx
call fcn.10097570
mov ecx, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x10098998
jmp 0x10098983
xor eax, eax
mov edx, dword [edi]
cmp esi, dword [edx]
jge 0x10098998
mov edx, dword [edx + ecx + 4]
mov ecx, ebx
call fcn.100726e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
add ecx, 0x18
mov dword [esp + 0x24], ecx
mov dword [edx], eax
add edx, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0x10]
mov byte [esi + eax], 0
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x10098965
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, edi
mov dword [edi + 0x34], 0
mov ecx, esi
push str.ORDER
mov dword [eax + 0x38], 0
push dword [edi + 0x30]
call fcn.10071aa0
mov eax, dword [esp + 0x28]
add esp, 8
cmp dword [eax + 0x34], 0
jne 0x10098a0a
push str.ORDER
push dword [eax + 0x30]
mov edx, eax
mov ecx, esi
call fcn.10071aa0
add esp, 8
push dword [esp + 0x2c]
mov edx, edi
mov ecx, esi
call fcn.10097400
add esp, 4
cmp dword [edi + 0xc], 0
je 0x10098a74
cmp byte [esp + 0x13], 0x80
jne 0x10098a74
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x38], eax
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10098a43
inc ecx
jmp 0x10098a46
mov ecx, dword [edi + 0xc]
push 0
push eax
push ecx
mov edx, 0x4e
mov ecx, ebx
call fcn.1005e520
add esp, 0xc
mov edx, 0x4e
mov ecx, ebx
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.1005e520
add esp, 0xc
jmp 0x10098a84
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x10098a94
mov ecx, dword [esp + 0x30]
call fcn.10073790
mov dword [edi + 0x3c], 0
mov eax, dword [esi + 0x2c]
inc eax
mov byte [esp + 0x78], 0xd
mov dword [esp + 0x24], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], 0
lea edx, [eax + 1]
mov dword [esp + 0x80], 0
lea ecx, [edx + 2]
mov dword [esp + 0x1c], edx
mov dword [esi + 0x2c], ecx
movzx eax, byte [edi + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x84], 0
mov byte [esp + 0x60], 0xd
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub eax, 0x80
je 0x10098b29
sub eax, 1
je 0x10098b22
sub eax, 1
je 0x10098b1b
mov eax, str.UNION
jmp 0x10098b2e
mov eax, str.INTERSECT
jmp 0x10098b2e
mov eax, str.EXCEPT
jmp 0x10098b2e
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push esi
call fcn.1005e8e0
mov eax, dword [ebx + 0x6c]
add esp, 0x10
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x10098b6a
push edx
push 0
push dword [esp + 0x2c]
mov edx, 0xd
mov ecx, ebx
call fcn.1005e4e0
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x10098b9a
mov edi, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
push str.LEFT
push 1
push esi
mov dword [ecx + 0xc], eax
call fcn.1005e8e0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x84]
add esp, 0xc
mov ecx, esi
push eax
call fcn.1009b590
add esp, 4
mov edx, 0x43
mov ecx, ebx
push dword [esp + 0x24]
call fcn.1005e610
mov eax, dword [ebx + 0xc]
add esp, 4
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x10098c01
mov eax, 0x10101774
jmp 0x10098c16
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x38], eax
lea esi, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x10098c44
push esi
push 0
push dword [esp + 0x24]
mov edx, 0xd
mov ecx, ebx
call fcn.1005e4e0
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x10098c70
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x6c], esi
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x3c]
push str.RIGHT
mov esi, dword [eax + 0x10]
push 1
push dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
call fcn.1005e8e0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.1009b590
mov eax, dword [esp + 0x18]
add esp, 4
mov edx, 0x43
mov ecx, ebx
mov dword [eax + 0xc], edi
mov edi, eax
mov dword [edi + 0x10], esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.1005e610
mov eax, dword [ebx + 0xc]
add esp, 4
mov edx, edi
push dword [esp + 0x2c]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x38]
push dword [esp + 0x48]
mov dword [eax + 0x1c], 0
lea eax, [esi + 1]
mov esi, dword [esp + 0x24]
mov ecx, esi
push eax
push dword [ebp + 8]
lea eax, [esp + 0x8c]
push eax
call fcn.10098410
mov dword [esp + 0x64], eax
add esp, 0x18
mov al, byte [esp + 0x13]
cmp al, 0x80
je 0x10098d1c
cmp al, 0x7f
jne 0x10098d44
push dword [esp + 0x2c]
lea eax, [esp + 0x64]
mov edx, edi
push dword [esp + 0x38]
mov ecx, esi
push dword [esp + 0x48]
push dword [esp + 0x54]
push dword [ebp + 8]
push eax
call fcn.10098410
add esp, 0x18
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10098d5b
add dword [eax], 0xffffffff
jne 0x10098d5b
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.1003eb40
mov al, byte [esp + 0x13]
cmp al, 0x81
je 0x10098e15
cmp al, 0x82
je 0x10098e15
push 0
push dword [esp + 0x48]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x50]
call fcn.1005e520
add esp, 0xc
mov dword [esp + 0x18], eax
mov edx, 0xe
mov ecx, ebx
push 0
push dword [esp + 0x30]
push dword [esp + 0x24]
call fcn.1005e520
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
cmp dword [ebx + 0x70], ecx
jg 0x10098dcb
push 0
push edx
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.1005e4e0
add esp, 0xc
jmp 0x10098dfa
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esp + 0x20]
mov cx, word [edi + 6]
mov dx, word [eax + 6]
call fcn.100434f0
mov word [edi + 6], ax
mov eax, dword [esp + 0x18]
jmp 0x10098e23
mov ecx, dword [esp + 0x2c]
mov eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x13], 0x82
jne 0x10098e49
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x10098ed2
mov word [edi + 6], ax
jmp 0x10098ed2
mov eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x50]
inc eax
mov ecx, ebx
push eax
call fcn.1005e520
add esp, 0xc
mov dword [esp + 0x34], eax
mov edx, 0xe
mov ecx, ebx
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
call fcn.1005e520
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
mov edx, dword [esp + 0x34]
cmp dword [ebx + 0x70], ecx
jg 0x10098ea3
push 0
push edx
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.1005e4e0
add esp, 0xc
jmp 0x10098ed2
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esp + 0x1c]
mov edx, 0xc
push 0
push dword [esp + 0x50]
inc eax
mov ecx, ebx
push eax
call fcn.1005e520
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x14], eax
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0xe
call fcn.1005e520
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x10098f2c
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.1005e4e0
add esp, 0xc
jmp 0x10098f5f
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 al, byte [esp + 0x13]
cmp al, 0x80
jne 0x10098f74
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
jmp 0x10098ff8
cmp al, 0x82
jne 0x10098f87
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x10098ff8
push 0
push dword [esp + 0x1c]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x2c]
call fcn.1005e520
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x70], ecx
jg 0x10098fc5
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.1005e4e0
add esp, 0xc
jmp 0x10098ff8
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [ebx + 0x6c]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x13]
cmp al, 0x80
je 0x1009900b
cmp al, 0x7f
jne 0x10099024
push 0
push dword [esp + 0x48]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x50]
call fcn.1005e520
add esp, 0xc
push 0
push dword [esp + 0x38]
mov edx, 0xe
mov ecx, ebx
push dword [esp + 0x24]
call fcn.1005e520
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x1009905e
push 0
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, ebx
push 0
call fcn.1005e4e0
add esp, 0xc
jmp 0x10099091
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100990a3
mov eax, 0x10101774
jmp 0x100990b8
mov ecx, dword [esp + 0x38]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
push 0
push dword [esp + 0x44]
mov dword [eax + 8], edx
mov ecx, ebx
push dword [esp + 0x2c]
mov edx, 0xe
call fcn.1005e520
add esp, 0xc
mov edx, 0xe
mov ecx, ebx
push 0
push dword [esp + 0x38]
push dword [esp + 0x24]
call fcn.1005e520
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009910b
push edx
mov edx, ebx
call fcn.1005ea70
add esp, 4
jmp 0x10099114
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
push 0
push 0
push 0
mov edx, 0x56
mov ecx, ebx
call fcn.1005e520
add esp, 0xc
mov edx, eax
mov ecx, ebx
push 0xfffffffffffffff1
push dword [esp + 0x54]
call fcn.1005f170
push dword [esp + 0x5c]
mov edx, 0x57
mov ecx, ebx
push dword [esp + 0x74]
push dword [esp + 0x90]
call fcn.1005e520
add esp, 0x14
mov edx, eax
mov ecx, ebx
push 0xfffffffffffffff7
push dword [esp + 0x5c]
call fcn.1005f170
mov ecx, dword [ebx + 0x6c]
add esp, 8
test ecx, ecx
jle 0x10099182
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100991a6
mov edx, dword [esp + 0x4c]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x1c]
push edx
push dword [esp + 0x1c]
mov edx, 0x10
call fcn.1005e4e0
add esp, 0xc
jmp 0x100991d9
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100991f7
push edx
mov edx, ebx
call fcn.1005ea70
add esp, 4
jmp 0x10099200
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [edi + 0x34]
test edx, edx
je 0x10099215
mov ecx, dword [esp + 0x30]
push 1
call fcn.100946b0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [eax + 0x38], edi
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x1009922d
xor eax, eax
jmp 0x10099253
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x10099238
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x10099247
mov eax, 0x10101774
jmp 0x10099250
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
xor eax, eax
cmp dword [esi + 0x24], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret