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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x100a5428]
xor eax, esp
mov dword [esp + 0xe8], eax
xor eax, eax
push ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], eax
movsx eax, word [ecx + 0x5c]
push esi
mov esi, dword [ecx + eax*4 + 0x60]
mov ebx, dword [esi + 0x3c]
push edi
mov edi, dword [ecx + eax*4 + 0x5c]
mov eax, dword [edi + 0x44]
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
call fcn.100250d0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
cmp byte [esi + 3], al
je 0x1002c299
cmp byte [esi + 2], al
je 0x1002c299
cmp byte [esi + 1], 1
jne 0x1002c299
mov cx, word [esi + 0x18]
cmp cx, word [esi + 0x10]
jne 0x1002c299
cmp dword [edi + 0x48], 1
je 0x1002c299
movzx edx, byte [edi + 5]
mov eax, dword [edi + 0x40]
lea ecx, [edx + eax + 8]
call fcn.1001e1a0
cmp eax, dword [esi + 0x48]
jne 0x1002c299
mov ecx, dword [esp + 0x58]
call fcn.1002bf50
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.10075b7f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x44]
push ecx
call fcn.100250d0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
mov eax, dword [esp + 0x58]
movsx edx, word [eax + 0x5c]
movzx eax, word [eax + edx*2 + 0xae]
movzx ecx, word [edi + 0x10]
dec eax
lea edx, [eax + 3]
mov dword [esp + 0x30], eax
cmp edx, ecx
jle 0x1002c2da
add ecx, 0xfffffffe
mov dword [esp + 0x30], ecx
mov eax, ecx
xor esi, esi
cmp eax, esi
jge 0x1002c2e6
mov dword [esp + 0x30], esi
mov eax, esi
lea ecx, [eax + eax]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jmp 0x1002c2f7
mov eax, dword [esp + 0x3c]
movzx ecx, word [edi + 0x10]
cmp eax, ecx
jge 0x1002c351
movzx edx, word [edi + 0xc]
mov eax, dword [edi + 0x40]
mov ecx, dword [esp + 0x40]
add edx, eax
add ecx, edx
movzx edx, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or edx, ecx
movzx ecx, word [edi + 0x12]
and edx, ecx
movzx ecx, byte [eax + edx]
add eax, edx
movzx edx, byte [eax + 1]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
mov dword [esp + esi + 0xd4], eax
movzx eax, byte [eax + 3]
or edx, ecx
shl edx, 8
or edx, eax
mov dword [esp + esi + 0xe8], edx
jmp 0x1002c387
jne 0x1002c3e8
movzx ecx, byte [edi + 5]
mov edx, dword [edi + 0x40]
lea eax, [ecx + edx + 8]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [esp + esi + 0xe8], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + esi + 0xe8]
lea ebx, [esp + esi + 0x68]
push ebx
push ecx
call fcn.10027050
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
add dword [esp + 0x40], 2
mov dword [esp + esi + 0x74], eax
mov eax, dword [ebx]
movzx edx, word [eax + 0x10]
movzx eax, byte [eax + 1]
add eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, 1
add dword [esp + 0x24], ecx
add dword [esp + 0x3c], ecx
add esi, 4
lea edx, [eax + edx + 1]
mov dword [esp + 0x18], edx
cmp esi, 0xc
jl 0x1002c2f3
mov esi, dword [esp + 0x18]
movzx eax, word [ebx + 0x14]
movzx edx, byte [ebx + 0x12]
add esi, 3
and esi, 0xfffffffc
add eax, esi
neg edx
sbb edx, edx
lea ecx, [esi + eax*2 + 0x78]
and edx, esi
lea edi, [edx + ecx*2]
call fcn.1001b0f0
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1002c423
mov dword [esp + 0x14], 7
jmp 0x1002d59d
lea eax, [eax + esi*4]
mov dword [esp + 0x18], eax
lea eax, [eax + esi*2]
movzx esi, word [ebx + 0x14]
mov dword [esp + 0xc0], eax
mov eax, 1
lea ecx, [ecx]
mov ecx, dword [esp + eax*4 + 0xbc]
lea edx, [ecx + esi + 0x50]
mov dword [esp + eax*4 + 0xc0], edx
inc eax
cmp eax, 3
jl 0x1002c440
cmp byte [ebx + 0x12], 0
mov eax, dword [esp + 0xc8]
lea eax, [esi + eax + 0x50]
mov dword [esp + 0x4c], eax
je 0x1002c474
lea ecx, [esi + eax]
mov dword [esp + 0x48], ecx
mov eax, dword [0x100a7fc4]
test eax, eax
je 0x1002c487
push eax
call dword [0x100a6690]
add esp, 4
mov eax, esi
call fcn.10020be0
mov esi, eax
mov eax, dword [0x100a7fc4]
mov dword [esp + 0x44], esi
test eax, eax
je 0x1002c4a7
push eax
call dword [0x100a6698]
add esp, 4
mov dword [esp + 0x64], esi
test esi, esi
jne 0x1002c4bc
mov dword [esp + 0x14], 7
jmp 0x1002d59d
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jle 0x1002c50d
jmp 0x1002c4d0
mov eax, dword [esp + ebx*4 + 0xc0]
mov edx, dword [esp + ebx*4 + 0x68]
mov edi, eax
mov esi, edx
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x4c]
mov dword [eax + 0x40], ecx
mov edx, dword [edx + 0x40]
mov dword [esp + ebx*4 + 0x74], eax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0x14]
push eax
push edx
push ecx
call fcn.100777a0
inc ebx
add esp, 0xc
cmp ebx, dword [esp + 0x24]
jl 0x1002c4d0
mov ecx, dword [esp + 0x60]
movzx eax, byte [ecx + 3]
add eax, eax
add eax, eax
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 4]
mov dword [esp + 0x3c], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x24], eax
jle 0x1002c710
jmp 0x1002c540
mov edi, dword [esp + eax*4 + 0x74]
movzx ecx, byte [edi + 1]
movzx edx, word [edi + 0x10]
add edx, ecx
xor ecx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x1002c612
movzx eax, byte [edi + 1]
dec eax
js 0x1002c581
lea edx, [edi + eax*8 + 0x14]
jmp 0x1002c570
movzx esi, word [edx + 4]
cmp esi, ecx
jg 0x1002c57b
je 0x1002c5ee
dec ecx
sub edx, 8
dec eax
jns 0x1002c570
movzx eax, word [edi + 0xc]
mov edx, dword [edi + 0x40]
add eax, edx
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [edi + 0x12]
and eax, ecx
add eax, edx
mov esi, dword [esp + 0x34]
mov dword [esi + ebx*4], eax
push eax
mov eax, edi
call fcn.100267d0
mov edx, dword [esp + 0x1c]
mov word [edx + ebx*2], ax
mov eax, dword [esp + 0x20]
add esp, 4
cmp byte [eax + 0x12], 0
je 0x1002c5fa
mov cl, byte [esp + 0xc]
mov edx, dword [esp + 0x48]
mov byte [edx + ebx], cl
movzx ecx, byte [edi + 1]
xor eax, eax
test ecx, ecx
jle 0x1002c5fa
mov esi, dword [esi + ebx*4]
lea edx, [edi + 0x14]
cmp dword [edx], esi
je 0x1002c5f2
inc eax
add edx, 8
cmp eax, ecx
jl 0x1002c5e0
jmp 0x1002c5fa
mov eax, dword [edx]
jmp 0x1002c5a1
mov eax, dword [esp + 0x48]
mov byte [eax + ebx], 0xff
mov ecx, dword [esp + 0x10]
inc ecx
inc ebx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x28]
jl 0x1002c560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
dec ecx
cmp eax, ecx
jge 0x1002c6fd
mov eax, dword [esp + eax*4 + 0xd4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x24]
call fcn.100267d0
add esp, 4
cmp dword [esp + 0x3c], 0
movzx eax, ax
je 0x1002c658
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
push eax
push edx
call fcn.1002bc10
add esp, 8
jmp 0x1002c6f9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov esi, eax
mov word [ecx + ebx*2], ax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
add edx, ecx
push esi
push eax
add ecx, esi
push edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
call fcn.100777a0
mov edx, dword [esp + 0x60]
add edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [eax + ebx*4], edx
cmp byte [ecx + 0x12], 0
je 0x1002c6a6
mov edx, dword [esp + 0x48]
mov byte [edx + ebx], 0xff
mov eax, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x24]
push eax
call fcn.1002bc10
mov eax, dword [esp + 0x20]
mov cx, word [esp + 0x48]
sub word [eax + ebx*2], cx
mov ax, word [eax + ebx*2]
add esp, 8
cmp byte [edi + 3], 0
jne 0x1002c6e5
movzx edx, byte [edi + 5]
mov eax, dword [edi + 0x40]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [edx + eax + 8]
mov dword [ecx], edx
jmp 0x1002c6f8
cmp ax, 4
jae 0x1002c6f8
mov ecx, dword [esp + 0x18]
mov eax, 4
mov word [ecx + ebx*2], ax
inc ebx
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x24]
jl 0x1002c540
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 0x16]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
lea edx, [eax + ecx - 0xc]
xor ecx, ecx
xor edi, edi
xor eax, eax
mov dword [esp + 0x28], edx
test ebx, ebx
jle 0x1002c760
movzx edx, word [esi + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, dword [esp + 0x28]
jle 0x1002c75b
sub eax, edx
cmp dword [esp + 0x3c], 0
mov dword [esp + edi*4 + 0xac], eax
mov dword [esp + edi*4 + 0xd4], ecx
je 0x1002c758
dec ecx
xor eax, eax
inc edi
inc ecx
cmp ecx, ebx
jl 0x1002c732
mov dword [esp + edi*4 + 0xd4], ebx
inc edi
mov dword [esp + edi*4 + 0xa8], eax
lea ebx, [edi - 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
test ebx, ebx
jle 0x1002c801
jmp 0x1002c788
mov esi, dword [esp + 0x18]
mov edx, dword [esp + ebx*4 + 0xac]
mov edi, dword [esp + ebx*4 + 0xa8]
mov eax, dword [esp + ebx*4 + 0xd0]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x3c]
inc ecx
test edx, edx
je 0x1002c7cc
movzx esi, word [esi + eax*2]
mov ebx, edi
sub ebx, esi
mov esi, dword [esp + 0x18]
movzx esi, word [esi + ecx*2]
sub ebx, 2
lea esi, [esi + edx + 2]
cmp esi, ebx
mov ebx, dword [esp + 0xc]
jg 0x1002c7ea
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + ecx*2]
movzx eax, word [esi + eax*2]
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add edi, ecx
dec dword [esp + ebx*4 + 0xd0]
jmp 0x1002c796
mov dword [esp + ebx*4 + 0xac], edx
mov dword [esp + ebx*4 + 0xa8], edi
dec ebx
mov dword [esp + 0xc], ebx
test ebx, ebx
jg 0x1002c784
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x40]
movzx ecx, byte [eax]
mov esi, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0xc], edi
test esi, esi
jle 0x1002c8b8
mov ebx, dword [esp + 0x24]
cmp edi, ebx
jge 0x1002c86c
mov eax, dword [esp + edi*4 + 0x68]
mov edx, dword [esp + edi*4 + 0xe8]
mov dword [esp + edi*4 + 0xac], eax
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x44]
push eax
mov dword [esp + edi*4 + 0xc4], edx
mov dword [esp + edi*4 + 0x6c], 0
call fcn.100250d0
inc dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
jmp 0x1002c8ab
mov ecx, dword [esp + edi*4 + 0xbc]
lea eax, [esp + edi*4 + 0xc0]
push 0
push ecx
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x38]
push edx
push eax
call fcn.1002aca0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x38]
mov dword [esp + edi*4 + 0xac], ecx
inc edi
mov dword [esp + 0xc], edi
cmp edi, esi
jl 0x1002c825
cmp edi, dword [esp + 0x24]
jge 0x1002cb61
mov esi, dword [esp + edi*4 + 0x68]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x3c]
push edx
push eax
mov eax, esi
call fcn.1002b4a0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
test esi, esi
je 0x1002cb4a
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1002cb4a
mov ebx, dword [eax + 0x10]
or edx, 0xffffffff
add word [eax + 0x16], dx
mov dword [esp + 0x28], ebx
jne 0x1002c9bd
mov ecx, dword [eax + 0x18]
add dword [ecx + 0xc], edx
test byte [eax + 0x14], 2
jne 0x1002c946
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], 0
je 0x1002c9bd
cmp dword [eax + 0xc], 1
jne 0x1002c931
mov dword [ecx + 0x2c], 0
mov ecx, dword [ecx + 0x28]
push 0
push eax
push ecx
call dword [0x100a66c0]
add esp, 0xc
jmp 0x1002c9bd
mov edx, dword [eax + 0x18]
cmp dword [edx + 8], eax
jne 0x1002c965
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1002c962
test byte [ecx + 0x14], 4
je 0x1002c962
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1002c955
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1002c974
mov esi, dword [eax + 0x20]
mov dword [ecx + 0x20], esi
jmp 0x1002c97a
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
xor esi, esi
cmp ecx, esi
je 0x1002c98b
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x1002c990
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, esi
je 0x1002c9a5
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], esi
jne 0x1002c9af
mov dword [ecx + 4], eax
cmp dword [ecx + 8], esi
jne 0x1002c9bd
test byte [eax + 0x14], 4
jne 0x1002c9bd
mov dword [ecx + 8], eax
mov edx, dword [ebx + 0xa8]
cmp dword [edx + 0xc], 0
jne 0x1002cb4a
cmp byte [ebx + 4], 0
je 0x1002c9e9
cmp dword [ebx + 0x4c], 0
jl 0x1002cb4a
jg 0x1002c9e9
cmp dword [ebx + 0x48], 0
jbe 0x1002cb4a
cmp dword [ebx + 0x24], 0
jne 0x1002ca12
cmp byte [ebx + 0xe], 2
jb 0x1002ca12
mov eax, dword [0x100a8150]
test eax, eax
je 0x1002ca00
call eax
mov eax, ebx
call fcn.10025570
mov eax, dword [0x100a8154]
test eax, eax
je 0x1002ca12
call eax
cmp byte [ebx + 4], 0
jne 0x1002cb4a
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
test eax, eax
je 0x1002ca34
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], 0
mov edi, dword [ebx + 0x34]
test edi, edi
je 0x1002cacb
cmp dword [edi + 8], 0
je 0x1002ca61
lea esi, [edi + 0xc]
mov ebx, 0x7d
lea ecx, [ecx]
mov ecx, dword [esi]
push ecx
call fcn.10020340
add esp, 4
add esi, 4
dec ebx
jne 0x1002ca50
cmp dword [str.KERNEL32.dll], 0
je 0x1002cac1
mov eax, dword [0x100a6870]
test eax, eax
je 0x1002ca7d
push eax
call dword [0x100a6690]
add esp, 4
push edi
call dword [0x100a666c]
mov ecx, dword [0x100a8108]
neg eax
add ecx, eax
add esp, 4
mov dword [0x100a8108], ecx
cmp ecx, dword [0x100a812c]
jle 0x1002caa5
mov dword [0x100a812c], ecx
push edi
call dword [0x100a6664]
mov eax, dword [0x100a6870]
add esp, 4
test eax, eax
je 0x1002cacb
push eax
call dword [0x100a6698]
jmp 0x1002cac8
push edi
call dword [0x100a6664]
add esp, 4
mov esi, dword [esp + 0x28]
xor edi, edi
push esi
mov dword [esi + 0x34], edi
call fcn.10022800
mov eax, dword [esi + 0x38]
mov byte [esi + 0x15], 0
mov ecx, dword [eax]
add esp, 4
cmp ecx, edi
jne 0x1002caee
xor eax, eax
jmp 0x1002caff
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
add esp, 8
cmp eax, edi
je 0x1002caff
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], edi
je 0x1002cb3e
cmp eax, edi
jne 0x1002cb0b
mov dword [esi + 0x24], edi
cmp dword [esi + 0x24], edi
jne 0x1002cb3e
mov eax, dword [esi + 0xac]
cmp eax, edi
je 0x1002cb2a
mov ecx, 1
nop
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 0x2c]
cmp eax, edi
jne 0x1002cb20
mov edi, dword [esi + 0xa8]
push 0
call fcn.10020990
add esp, 4
mov byte [esi + 0x15], 0
mov edi, dword [esp + 0xc]
mov byte [esi + 0x12], 0
mov byte [esi + 0xe], 0
mov dword [esp + edi*4 + 0x68], 0
inc edi
mov dword [esp + 0xc], edi
cmp edi, dword [esp + 0x24]
jl 0x1002c8c2
mov eax, dword [esp + 0x10]
dec eax
xor ecx, ecx
test eax, eax
jle 0x1002cc07
mov ebx, dword [esp + ecx*4 + 0xc0]
lea eax, [esp + ecx*4 + 0xc0]
lea edi, [ecx + 1]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ebx
mov edx, ecx
mov dword [esp + 0x2c], edi
mov eax, edi
cmp edi, dword [esp + 0x10]
jge 0x1002cbf8
jmp 0x1002cba0
mov esi, dword [esp + eax*4 + 0xc0]
cmp esi, ebx
jae 0x1002cbaf
mov edx, eax
mov ebx, esi
inc eax
cmp eax, dword [esp + 0x10]
jl 0x1002cba0
cmp edx, ecx
jle 0x1002cbf8
mov edi, dword [esp + edx*4 + 0xc0]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + ecx*4 + 0xac]
lea eax, [esp + edx*4 + 0xc0]
lea ecx, [esp + ecx*4 + 0xac]
mov dword [ebx], edi
mov edi, dword [esp + edx*4 + 0xac]
lea edx, [esp + edx*4 + 0xac]
mov dword [ecx], edi
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
mov dword [eax], ecx
mov dword [edx], esi
mov eax, dword [esp + 0x10]
mov ecx, edi
dec eax
cmp ecx, eax
jl 0x1002cb70
mov ebx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
cmp ebx, eax
jle 0x1002d1fc
mov ecx, dword [esp + 0x50]
mov eax, ecx
sar eax, 3
mov dword [esp + 0x84], eax
mov edi, ecx
shr edi, 3
mov eax, ecx
and eax, 0xfffffff7
mov dword [esp + 0x80], edi
mov dword [esp + 0x4c], eax
jmp 0x1002cc4b
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + edx*4 + 0xac]
mov dl, byte [esi + 5]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
movzx ebx, dl
add eax, ebx
movzx ebx, byte [esp + 0x50]
mov byte [eax], bl
not edi
and edi, 1
movzx ebx, dl
lea edi, [edi*4 + 8]
add di, bx
xor ebx, ebx
mov dword [eax + 1], ebx
mov byte [eax + 7], bl
movzx ebx, byte [ecx + 0x17]
mov byte [eax + 5], bl
movzx ebx, byte [ecx + 0x16]
mov byte [eax + 6], bl
mov ax, word [ecx + 0x16]
movzx edi, di
sub ax, di
mov word [esi + 0xe], ax
mov al, byte [esp + 0x84]
mov bl, 1
sub bl, al
add bl, bl
add bl, bl
cmp dword [esp + 0x4c], 5
mov byte [esi + 6], bl
mov ebx, dword [esi + 0x3c]
mov byte [esi + 3], al
jne 0x1002ccd5
mov byte [esi + 2], 1
mov byte [esi + 4], al
movzx eax, word [ebx + 0x1c]
mov word [esi + 8], ax
movzx eax, word [ebx + 0x1e]
jmp 0x1002ccf0
cmp dword [esp + 0x4c], 2
jne 0x1002ccf4
mov byte [esi + 2], 0
mov byte [esi + 4], 0
movzx eax, word [ebx + 0x18]
mov word [esi + 8], ax
movzx eax, word [ebx + 0x1a]
mov word [esi + 0xa], ax
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + eax*4 + 0xd4]
mov eax, dword [esp + 0x34]
mov byte [esi + 5], dl
mov word [esi + 0xc], di
mov edi, dword [esp + 0x10]
mov byte [esi + 1], 0
mov cx, word [ecx + 0x14]
dec cx
xor edx, edx
mov word [esi + 0x12], cx
mov ecx, dword [esp + 0x18]
mov word [esi + 0x10], dx
lea edx, [ecx + edi*2]
push edx
lea ecx, [eax + edi*4]
push ecx
mov edx, ebx
sub edx, edi
push edx
push esi
mov byte [esi], 1
call fcn.1002bea0
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp byte [eax + 0x12], 0
je 0x1002cec9
mov dword [esp + 0x10], edi
cmp edi, ebx
jge 0x1002cec9
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov al, byte [edx + ecx]
cmp al, 0xff
je 0x1002cd83
movzx eax, al
mov ecx, dword [esp + eax*4 + 0x74]
mov edx, dword [ecx + 0x48]
cmp edx, dword [esi + 0x48]
je 0x1002ceab
movzx eax, byte [esi + 1]
dec eax
mov ecx, dword [esp + 0x2c]
js 0x1002cda3
lea edx, [esi + eax*8 + 0x14]
movzx edi, word [edx + 4]
cmp edi, ecx
jg 0x1002cd9d
je 0x1002cde1
dec ecx
sub edx, 8
dec eax
jns 0x1002cd92
movzx edx, word [esi + 0xc]
mov eax, dword [esi + 0x40]
add edx, eax
movzx edi, byte [edx + ecx*2]
lea ecx, [edx + ecx*2]
movzx ecx, byte [ecx + 1]
movzx edx, word [esi + 0x12]
shl edi, 8
or edi, ecx
and edi, edx
add edi, eax
push edi
push esi
lea ebx, [esp + 0x90]
call fcn.10026690
add esp, 8
cmp byte [esi + 2], 0
je 0x1002cde5
xor eax, eax
xor edx, edx
jmp 0x1002cdf3
mov edi, dword [edx]
jmp 0x1002cdc4
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
xor ecx, ecx
add ebx, eax
movzx eax, word [esp + 0xa2]
adc ecx, edx
cdq
cmp ecx, edx
jl 0x1002ce50
jg 0x1002ce13
cmp ebx, eax
jbe 0x1002ce50
movzx ecx, word [esp + 0xa4]
movzx eax, byte [ecx + edi]
movzx edx, byte [ecx + edi + 1]
add ecx, edi
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov edx, dword [esi + 0x48]
shl eax, 8
push edx
or eax, ecx
mov ecx, dword [esi + 0x3c]
push 3
call fcn.10026460
add esp, 8
jmp 0x1002ce52
xor eax, eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
cmp dword [esp + 0x40], eax
jne 0x1002ceab
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov ecx, dword [eax + ecx*4]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov edx, dword [esi + 0x48]
shl eax, 8
push edx
or eax, ecx
mov ecx, dword [esp + 0x20]
push 5
call fcn.10026460
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc dword [esp + 0x2c]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + ecx*4 + 0xd4]
jl 0x1002cd61
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + edi*4 + 0xd4]
dec edx
mov dword [esp + 0x10], eax
cmp edi, edx
jge 0x1002d1be
cmp eax, dword [esp + 0x54]
jge 0x1002d1be
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + eax*4]
mov edx, dword [esp + 0x18]
movzx eax, word [edx + eax*2]
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x5c]
mov ebx, eax
add ebx, dword [esp + 0x40]
cmp byte [esi + 3], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
jne 0x1002cf93
mov eax, dword [esi + 0x40]
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
cmp byte [edx + 0x12], 0
je 0x1002d014
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov al, byte [eax + ecx]
cmp al, 0xff
je 0x1002cf52
movzx edx, al
mov eax, dword [esp + edx*4 + 0x74]
mov ecx, dword [eax + 0x48]
cmp ecx, dword [esi + 0x48]
je 0x1002d014
movzx eax, byte [edi]
movzx edx, byte [edi + 1]
movzx ecx, byte [edi + 2]
shl eax, 8
or eax, edx
movzx edx, byte [edi + 3]
shl eax, 8
or eax, ecx
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, dword [esp + 0x20]
shl eax, 8
or eax, edx
push 5
call fcn.10026460
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
jmp 0x1002d014
cmp dword [esp + 0x3c], 0
je 0x1002cffc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [edx + eax*4]
push eax
push esi
lea ebx, [esp + 0x90]
call fcn.10026690
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x40]
push 0
push edi
call fcn.1002b8e0
add esp, 0x28
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x1002d014
sub edi, 4
cmp eax, 4
jne 0x1002d014
mov eax, dword [esp + 0x20]
push edi
call fcn.100267d0
add esp, 4
movzx ebx, ax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add dword [esp + 0x5c], ebx
push 4
push edi
mov edi, dword [esp + 0x38]
push edi
mov ecx, ebx
call fcn.1002bcd0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
mov ebx, dword [esp + 0x20]
movzx eax, byte [ebx + 1]
dec eax
mov ecx, edi
js 0x1002d065
lea edx, [ebx + eax*8 + 0x14]
nop
movzx edi, word [edx + 4]
cmp edi, ecx
jg 0x1002d05f
je 0x1002d125
dec ecx
sub edx, 8
dec eax
jns 0x1002d050
movzx eax, word [ebx + 0xc]
mov edx, dword [ebx + 0x40]
add eax, edx
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or eax, ecx
movzx ecx, word [ebx + 0x12]
and eax, ecx
add eax, edx
mov ecx, dword [esi + 0x48]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x12], 0
je 0x1002d1ad
cmp dword [esp + 0x3c], 0
jne 0x1002d1ad
movzx eax, byte [ebx + 1]
dec eax
mov ecx, dword [esp + 0x30]
js 0x1002d0e1
lea edx, [ebx + eax*8 + 0x14]
lea ebx, [ebx]
movzx edi, word [edx + 4]
cmp edi, ecx
jg 0x1002d0db
je 0x1002d12c
dec ecx
sub edx, 8
dec eax
jns 0x1002d0d0
movzx edx, word [ebx + 0xc]
mov eax, dword [ebx + 0x40]
add edx, eax
movzx edi, byte [edx + ecx*2 + 1]
lea ecx, [edx + ecx*2]
movzx ecx, byte [ecx]
movzx edx, word [ebx + 0x12]
shl ecx, 8
or edi, ecx
and edi, edx
add edi, eax
mov eax, ebx
push edi
push eax
lea ebx, [esp + 0x90]
call fcn.10026690
mov ecx, dword [esp + 0x28]
add esp, 8
cmp byte [ecx + 2], 0
je 0x1002d130
xor eax, eax
xor edx, edx
jmp 0x1002d13e
mov eax, dword [edx]
jmp 0x1002d085
mov edi, dword [edx]
jmp 0x1002d102
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
xor ecx, ecx
add ebx, eax
movzx eax, word [esp + 0xa2]
adc ecx, edx
cdq
cmp ecx, edx
jl 0x1002d19f
jg 0x1002d15e
cmp ebx, eax
jbe 0x1002d19f
movzx ecx, word [esp + 0xa4]
movzx edx, byte [ecx + edi]
movzx eax, byte [ecx + edi + 1]
add ecx, edi
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x3c]
push edx
push 3
call fcn.10026460
add esp, 8
jmp 0x1002d1a1
xor eax, eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
mov edi, dword [esp + 0xc]
mov eax, 1
add dword [esp + 0x10], eax
add dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x12], 0
je 0x1002d1e9
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0x48]
push edx
push 5
call fcn.10026460
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
inc edi
mov dword [esp + 0xc], edi
cmp edi, dword [esp + 0x38]
jl 0x1002cc44
mov ebx, dword [esp + 0x38]
test byte [esp + 0x50], 8
jne 0x1002d263
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + eax*4 + 0x70]
mov ecx, dword [ecx + 0x40]
mov edx, dword [esp + ebx*4 + 0xa8]
mov esi, dword [ecx + 8]
mov eax, dword [edx + 0x40]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x12], 0
je 0x1002d263
movzx edi, byte [ecx + 8]
movzx eax, byte [ecx + 9]
mov edx, dword [edx + 0x48]
shl edi, 8
or eax, edi
movzx edi, byte [ecx + 0xa]
movzx ecx, byte [ecx + 0xb]
shl eax, 8
or eax, edi
shl eax, 8
push edx
or eax, ecx
push 5
mov ecx, esi
call fcn.10026460
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1002d59d
mov edx, dword [esp + 0x20]
movzx eax, byte [edx + 1]
movzx esi, word [edx + 0x10]
mov ecx, dword [esp + 0x30]
add esi, eax
cmp ecx, esi
jne 0x1002d2a7
movzx ecx, byte [edx + 5]
mov edx, dword [edx + 0x40]
mov eax, dword [esp + ebx*4 + 0xbc]
lea ecx, [ecx + edx + 8]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
jmp 0x1002d306
dec eax
js 0x1002d2c5
lea esi, [edx + eax*8 + 0x14]
mov edi, edi
movzx edi, word [esi + 4]
cmp edi, ecx
jg 0x1002d2bf
je 0x1002d379
dec ecx
sub esi, 8
dec eax
jns 0x1002d2b0
movzx eax, word [edx + 0xc]
mov esi, dword [edx + 0x40]
movzx edx, word [edx + 0x12]
add eax, esi
lea ecx, [eax + ecx*2]
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
or eax, ecx
and eax, edx
add eax, esi
mov ecx, dword [esp + ebx*4 + 0xbc]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov eax, dword [esp + 0x34]
call fcn.1001b220
mov eax, dword [esp + 0x60]
mov byte [eax + 1], 0
mov eax, dword [eax + 0x44]
mov dword [esp + 0x34], 0
test eax, eax
je 0x1002d586
mov ebx, dword [eax + 0x10]
or edx, 0xffffffff
add word [eax + 0x16], dx
mov dword [esp + 0x44], ebx
jne 0x1002d3f8
mov ecx, dword [eax + 0x18]
add dword [ecx + 0xc], edx
test byte [eax + 0x14], 2
jne 0x1002d380
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], 0
je 0x1002d3f8
cmp dword [eax + 0xc], 1
jne 0x1002d364
mov dword [ecx + 0x2c], 0
push 0
push eax
mov eax, dword [ecx + 0x28]
push eax
call dword [0x100a66c0]
add esp, 0xc
jmp 0x1002d3f8
mov eax, dword [esi]
jmp 0x1002d2e5
mov edx, dword [eax + 0x18]
cmp dword [edx + 8], eax
jne 0x1002d3a0
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1002d39d
nop
test byte [ecx + 0x14], 4
je 0x1002d39d
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1002d390
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
xor esi, esi
cmp ecx, esi
je 0x1002d3b1
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x20], edi
jmp 0x1002d3b7
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, esi
je 0x1002d3c6
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x1002d3cb
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, esi
je 0x1002d3e0
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], esi
jne 0x1002d3ea
mov dword [ecx + 4], eax
cmp dword [ecx + 8], esi
jne 0x1002d3f8
test byte [eax + 0x14], 4
jne 0x1002d3f8
mov dword [ecx + 8], eax
mov edx, dword [ebx + 0xa8]
cmp dword [edx + 0xc], 0
jne 0x1002d586
cmp byte [ebx + 4], 0
je 0x1002d424
cmp dword [ebx + 0x4c], 0
jl 0x1002d586
jg 0x1002d424
cmp dword [ebx + 0x48], 0
jbe 0x1002d586
cmp dword [ebx + 0x24], 0
jne 0x1002d44d
cmp byte [ebx + 0xe], 2
jb 0x1002d44d
mov eax, dword [0x100a8150]
test eax, eax
je 0x1002d43b
call eax
mov eax, ebx
call fcn.10025570
mov eax, dword [0x100a8154]
test eax, eax
je 0x1002d44d
call eax
cmp byte [ebx + 4], 0
jne 0x1002d586
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
test eax, eax
je 0x1002d46f
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], 0
mov edi, dword [ebx + 0x34]
test edi, edi
je 0x1002d507
cmp dword [edi + 8], 0
je 0x1002d49d
lea esi, [edi + 0xc]
mov ebx, 0x7d
mov ecx, dword [esi]
push ecx
call fcn.10020340
add esp, 4
add esi, 4
dec ebx
jne 0x1002d488
mov ebx, dword [esp + 0x44]
cmp dword [str.KERNEL32.dll], 0
je 0x1002d4fd
mov eax, dword [0x100a6870]
test eax, eax
je 0x1002d4b9
push eax
call dword [0x100a6690]
add esp, 4
push edi
call dword [0x100a666c]
mov ecx, dword [0x100a8108]
neg eax
add ecx, eax
add esp, 4
mov dword [0x100a8108], ecx
cmp ecx, dword [0x100a812c]
jle 0x1002d4e1
mov dword [0x100a812c], ecx
push edi
call dword [0x100a6664]
mov eax, dword [0x100a6870]
add esp, 4
test eax, eax
je 0x1002d507
push eax
call dword [0x100a6698]
jmp 0x1002d504
push edi
call dword [0x100a6664]
add esp, 4
push ebx
mov dword [ebx + 0x34], 0
call fcn.10022800
mov eax, dword [ebx + 0x38]
mov byte [ebx + 0x15], 0
mov ecx, dword [eax]
add esp, 4
test ecx, ecx
jne 0x1002d528
xor eax, eax
jmp 0x1002d53a
mov edx, dword [ecx + 0x20]
push 0
push eax
call edx
add esp, 8
test eax, eax
je 0x1002d53a
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
je 0x1002d57e
test eax, eax
jne 0x1002d547
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x1002d57e
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x1002d56a
mov ecx, 1
lea esp, [esp]
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x1002d560
mov edi, dword [ebx + 0xa8]
push 0
call fcn.10020990
add esp, 4
mov byte [ebx + 0x15], 0
mov byte [ebx + 0x12], 0
mov byte [ebx + 0xe], 0
mov eax, dword [esp + 0x58]
dec word [eax + 0x5c]
push 0
push eax
call fcn.1002dfd0
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [0x100a7fc4]
xor ebx, ebx
cmp eax, ebx
je 0x1002d5b2
push eax
call dword [0x100a6690]
add esp, 4
mov esi, dword [esp + 0x64]
cmp esi, ebx
je 0x1002d687
cmp esi, dword [0x100a7fe0]
jb 0x1002d5f8
cmp esi, dword [0x100a7fe4]
jae 0x1002d5f8
mov eax, dword [0x100a810c]
dec eax
mov dword [0x100a810c], eax
cmp eax, dword [0x100a8130]
jle 0x1002d5e6
mov dword [0x100a8130], eax
mov eax, dword [0x100a7fe8]
mov dword [esi], eax
mov dword [0x100a7fe8], esi
jmp 0x1002d687
push esi
call dword [0x100a666c]
mov ecx, dword [0x100a8110]
sub ecx, eax
add esp, 4
mov dword [0x100a8110], ecx
cmp ecx, dword [0x100a8134]
jle 0x1002d61e
mov dword [0x100a8134], ecx
cmp dword [str.KERNEL32.dll], ebx
je 0x1002d67d
mov eax, dword [0x100a6870]
cmp eax, ebx
je 0x1002d639
push eax
call dword [0x100a6690]
add esp, 4
push esi
call dword [0x100a666c]
mov ecx, dword [0x100a8108]
neg eax
add ecx, eax
add esp, 4
mov dword [0x100a8108], ecx
cmp ecx, dword [0x100a812c]
jle 0x1002d661
mov dword [0x100a812c], ecx
push esi
call dword [0x100a6664]
mov eax, dword [0x100a6870]
add esp, 4
cmp eax, ebx
je 0x1002d687
push eax
call dword [0x100a6698]
jmp 0x1002d684
push esi
call dword [0x100a6664]
add esp, 4
mov eax, dword [0x100a7fc4]
cmp eax, ebx
je 0x1002d69a
push eax
call dword [0x100a6698]
add esp, 4
mov eax, dword [esp + 0x34]
call fcn.1001b220
xor esi, esi
mov dword [esp + 0xc], esi
cmp dword [esp + 0x24], ebx
jle 0x1002d91a
mov eax, dword [esp + esi*4 + 0x68]
cmp eax, ebx
je 0x1002d90b
mov eax, dword [eax + 0x44]
cmp eax, ebx
je 0x1002d90b
dec word [eax + 0x16]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x44], edi
jne 0x1002d788
mov ecx, dword [eax + 0x18]
dec dword [ecx + 0xc]
test byte [eax + 0x14], 2
jne 0x1002d710
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], ebx
je 0x1002d788
cmp dword [eax + 0xc], 1
jne 0x1002d6fc
mov dword [ecx + 0x2c], ebx
mov ecx, dword [ecx + 0x28]
push ebx
push eax
push ecx
call dword [0x100a66c0]
add esp, 0xc
jmp 0x1002d788
mov edx, dword [eax + 0x18]
cmp dword [edx + 8], eax
jne 0x1002d730
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x1002d72d
nop
test byte [ecx + 0x14], 4
je 0x1002d72d
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
jne 0x1002d720
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
je 0x1002d741
mov ebx, dword [eax + 0x20]
mov dword [ecx + 0x20], ebx
xor ebx, ebx
jmp 0x1002d747
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x1002d756
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x1002d75b
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, ebx
je 0x1002d770
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], ebx
jne 0x1002d77a
mov dword [ecx + 4], eax
cmp dword [ecx + 8], ebx
jne 0x1002d788
test byte [eax + 0x14], 4
jne 0x1002d788
mov dword [ecx + 8], eax
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], ebx
jne 0x1002d90b
cmp byte [edi + 4], 0
je 0x1002d7b1
cmp dword [edi + 0x4c], ebx
jl 0x1002d90b
jg 0x1002d7b1
cmp dword [edi + 0x48], ebx
jbe 0x1002d90b
cmp dword [edi + 0x24], ebx
jne 0x1002d7d9
cmp byte [edi + 0xe], 2
jb 0x1002d7d9
mov eax, dword [0x100a8150]
cmp eax, ebx
je 0x1002d7c7
call eax
mov eax, edi
call fcn.10025570
mov eax, dword [0x100a8154]
cmp eax, ebx
je 0x1002d7d9
call eax
cmp byte [edi + 4], 0
jne 0x1002d90b
mov esi, dword [edi + 0x3c]
mov eax, dword [esi]
cmp eax, ebx
je 0x1002d7f7
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], ebx
mov edi, dword [edi + 0x34]
cmp edi, ebx
je 0x1002d88b
cmp dword [edi + 8], 0
je 0x1002d821
lea esi, [edi + 0xc]
mov ebx, 0x7d
mov ecx, dword [esi]
push ecx
call fcn.10020340
add esp, 4
add esi, 4
dec ebx
jne 0x1002d810
cmp dword [str.KERNEL32.dll], 0
je 0x1002d881
mov eax, dword [0x100a6870]
test eax, eax
je 0x1002d83d
push eax
call dword [0x100a6690]
add esp, 4
push edi
call dword [0x100a666c]
mov ecx, dword [0x100a8108]
neg eax
add ecx, eax
add esp, 4
mov dword [0x100a8108], ecx
cmp ecx, dword [0x100a812c]
jle 0x1002d865
mov dword [0x100a812c], ecx
push edi
call dword [0x100a6664]
mov eax, dword [0x100a6870]
add esp, 4
test eax, eax
je 0x1002d88b
push eax
call dword [0x100a6698]
jmp 0x1002d888
push edi
call dword [0x100a6664]
add esp, 4
mov esi, dword [esp + 0x44]
xor edi, edi
push esi
mov dword [esi + 0x34], edi
call fcn.10022800
mov eax, dword [esi + 0x38]
mov byte [esi + 0x15], 0
mov ecx, dword [eax]
add esp, 4
cmp ecx, edi
jne 0x1002d8ae
xor eax, eax
jmp 0x1002d8bf
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
add esp, 8
cmp eax, edi
je 0x1002d8bf
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], edi
je 0x1002d8fd
cmp eax, edi
jne 0x1002d8cb
mov dword [esi + 0x24], edi
cmp dword [esi + 0x24], edi
jne 0x1002d8fd
mov eax, dword [esi + 0xac]
cmp eax, edi
je 0x1002d8ea
mov ecx, 1
nop
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 0x2c]
cmp eax, edi
jne 0x1002d8e0
push edi
mov edi, dword [esi + 0xa8]
call fcn.10020990
add esp, 4
mov byte [esi + 0x15], 0
mov byte [esi + 0x12], 0
mov byte [esi + 0xe], 0
mov esi, dword [esp + 0xc]
xor ebx, ebx
inc esi
mov dword [esp + 0xc], esi
cmp esi, dword [esp + 0x24]
jl 0x1002d6b3
xor esi, esi
mov dword [esp + 0xc], esi
cmp dword [esp + 0x38], ebx
jle 0x1002db9a
lea ebx, [ebx]
mov eax, dword [esp + esi*4 + 0xac]
cmp eax, ebx
je 0x1002db8b
mov eax, dword [eax + 0x44]
cmp eax, ebx
je 0x1002db8b
dec word [eax + 0x16]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x44], edi
jne 0x1002da08
mov ecx, dword [eax + 0x18]
dec dword [ecx + 0xc]
test byte [eax + 0x14], 2
jne 0x1002d990
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x1c], ebx
je 0x1002da08
cmp dword [eax + 0xc], 1
jne 0x1002d97c
mov dword [ecx + 0x2c], ebx
push ebx
push eax
mov eax, dword [ecx + 0x28]
push eax
call dword [0x100a66c0]
add esp, 0xc
jmp 0x1002da08
mov edx, dword [eax + 0x18]
cmp dword [edx + 8], eax
jne 0x1002d9b0
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x1002d9ad
nop
test byte [ecx + 0x14], 4
je 0x1002d9ad
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
jne 0x1002d9a0
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
je 0x1002d9c1
mov ebx, dword [eax + 0x20]
mov dword [ecx + 0x20], ebx
xor ebx, ebx
jmp 0x1002d9c7
mov ecx, dword [eax + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x1002d9d6
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
jmp 0x1002d9db
mov ecx, dword [eax + 0x1c]
mov dword [edx], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
cmp edx, ebx
je 0x1002d9f0
mov dword [edx + 0x20], eax
mov dword [ecx], eax
cmp dword [ecx + 4], ebx
jne 0x1002d9fa
mov dword [ecx + 4], eax
cmp dword [ecx + 8], ebx
jne 0x1002da08
test byte [eax + 0x14], 4
jne 0x1002da08
mov dword [ecx + 8], eax
mov edx, dword [edi + 0xa8]
cmp dword [edx + 0xc], ebx
jne 0x1002db8b
cmp byte [edi + 4], 0
je 0x1002da31
cmp dword [edi + 0x4c], ebx
jl 0x1002db8b
jg 0x1002da31
cmp dword [edi + 0x48], ebx
jbe 0x1002db8b
cmp dword [edi + 0x24], ebx
jne 0x1002da59
cmp byte [edi + 0xe], 2
jb 0x1002da59
mov eax, dword [0x100a8150]
cmp eax, ebx
je 0x1002da47
call eax
mov eax, edi
call fcn.10025570
mov eax, dword [0x100a8154]
cmp eax, ebx
je 0x1002da59
call eax
cmp byte [edi + 4], 0
jne 0x1002db8b
mov esi, dword [edi + 0x3c]
mov eax, dword [esi]
cmp eax, ebx
je 0x1002da77
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], ebx
mov edi, dword [edi + 0x34]
cmp edi, ebx
je 0x1002db0b
cmp dword [edi + 8], 0
je 0x1002daa1
lea esi, [edi + 0xc]
mov ebx, 0x7d
mov ecx, dword [esi]
push ecx
call fcn.10020340
add esp, 4
add esi, 4
dec ebx
jne 0x1002da90
cmp dword [str.KERNEL32.dll], 0
je 0x1002db01
mov eax, dword [0x100a6870]
test eax, eax
je 0x1002dabd
push eax
call dword [0x100a6690]
add esp, 4
push edi
call dword [0x100a666c]
mov ecx, dword [0x100a8108]
neg eax
add ecx, eax
add esp, 4
mov dword [0x100a8108], ecx
cmp ecx, dword [0x100a812c]
jle 0x1002dae5
mov dword [0x100a812c], ecx
push edi
call dword [0x100a6664]
mov eax, dword [0x100a6870]
add esp, 4
test eax, eax
je 0x1002db0b
push eax
call dword [0x100a6698]
jmp 0x1002db08
push edi
call dword [0x100a6664]
add esp, 4
mov esi, dword [esp + 0x44]
xor edi, edi
push esi
mov dword [esi + 0x34], edi
call fcn.10022800
mov eax, dword [esi + 0x38]
mov byte [esi + 0x15], 0
mov ecx, dword [eax]
add esp, 4
cmp ecx, edi
jne 0x1002db2e
xor eax, eax
jmp 0x1002db3f
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
add esp, 8
cmp eax, edi
je 0x1002db3f
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], edi
je 0x1002db7d
cmp eax, edi
jne 0x1002db4b
mov dword [esi + 0x24], edi
cmp dword [esi + 0x24], edi
jne 0x1002db7d
mov eax, dword [esi + 0xac]
cmp eax, edi
je 0x1002db6a
mov ecx, 1
nop
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 0x2c]
cmp eax, edi
jne 0x1002db60
push edi
mov edi, dword [esi + 0xa8]
call fcn.10020990
add esp, 4
mov byte [esi + 0x15], 0
mov byte [esi + 0x12], 0
mov byte [esi + 0xe], 0
mov esi, dword [esp + 0xc]
xor ebx, ebx
inc esi
mov dword [esp + 0xc], esi
cmp esi, dword [esp + 0x38]
jl 0x1002d930
mov eax, dword [esp + 0x58]
movsx ecx, word [eax + 0x5c]
mov edx, dword [eax + ecx*4 + 0x60]
mov ecx, dword [esp + 0xf4]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [edx + 1], 0
call fcn.10075b7f
mov esp, ebp
pop ebp
ret