Function at 0x1028c1b
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x4c]
push eax
xor esi, esi
lea eax, [ebp - 0x54]
push eax
push dword [edi + 0x1358]
lea ebx, [edi + 0x1370]
push esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], esi
mov dword [edi + 0x1360], esi
mov dword [edi + 0x1364], esi
mov dword [ebx], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call fcn.01025c61
test eax, eax
je 0x10285b2
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 0x48]
je 0x10285c6
push edi
push dword [edi + 0x1358]
call fcn.01027885
cmp eax, esi
jne 0x1029115
push dword [edi + 0x1358]
call fcn.01025f49
cmp eax, esi
jne 0x1029115
mov eax, dword [edi + 0x1358]
cmp eax, esi
je 0x1029113
cmp byte [eax], 0
je 0x1029113
mov eax, dword [edi + 0x5344]
cmp eax, 0xffffffff
je 0x1029113
mov ecx, dword [ebp - 0x4c]
or ecx, dword [ebp - 0x48]
je 0x1029113
push esi
push esi
push esi
push eax
call fcn.01025228
and eax, edx
cmp eax, 0xffffffff
jne 0x1028623
push 0xb
pop eax
jmp 0x1029115
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [edi + 0x1374], esi
mov ebx, 0x4034b50
jmp 0x1028646
cmp byte [ebp - 0x39], 0x50
je 0x102865c
add dword [ebp - 0x44], 1
adc dword [ebp - 0x40], esi
push esi
push 1
lea eax, [ebp - 0x39]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
jne 0x1028639
mov al, byte [ebp - 0x39]
push esi
mov byte [ebp - 0x38], al
push 3
lea eax, [ebp - 0x37]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x10286d2
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
cmp eax, ebx
jne 0x10286a5
cmp esi, esi
je 0x10286d2
cmp eax, 0x6054b50
jne 0x10286b1
cmp dword [ebp - 0x48], esi
je 0x10286d2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffd
push dword [edi + 0x5344]
call fcn.01025228
and eax, edx
cmp eax, 0xffffffff
jne 0x102863f
jmp 0x102861b
mov eax, dword [ebp - 0x44]
movzx ecx, byte [ebp - 0x36]
mov dword [edi + 0x1360], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x1364], eax
movzx eax, byte [ebp - 0x35]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, ebx
jne 0x1028b4a
push 0x70
call fcn.0101be72
mov esi, eax
pop ecx
test esi, esi
je 0x1028f78
push 0x70
push 0
push esi
call fcn.0101bc52
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
movzx ax, byte [ebp - 0x37]
movzx cx, byte [ebp - 0x38]
shl ax, 8
or ax, cx
mov word [esi + 2], ax
push 0x14
pop eax
mov word [esi], ax
movzx ax, byte [ebp - 0x35]
movzx cx, byte [ebp - 0x36]
shl ax, 8
or ax, cx
mov word [esi + 0x36], ax
mov word [esi + 4], ax
movzx cx, byte [ebp - 0x34]
movzx eax, ax
mov dword [ebp - 0x60], eax
movzx ax, byte [ebp - 0x33]
shl ax, 8
or ax, cx
mov word [esi + 6], ax
movzx eax, byte [ebp - 0x2f]
movzx ecx, byte [ebp - 0x30]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x31]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x32]
shl eax, 8
or eax, ecx
mov dword [esi + 8], eax
movzx eax, byte [ebp - 0x2b]
movzx ecx, byte [ebp - 0x2c]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2d]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2e]
shl eax, 8
or eax, ecx
mov dword [esi + 0xc], eax
movzx eax, byte [ebp - 0x27]
movzx ecx, byte [ebp - 0x28]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x29]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2a]
shl eax, 8
or eax, ecx
mov dword [esi + 0x10], eax
xor ecx, ecx
mov dword [esi + 0x14], ecx
movzx eax, byte [ebp - 0x23]
movzx edx, byte [ebp - 0x24]
shl eax, 8
or eax, edx
movzx edx, byte [ebp - 0x25]
shl eax, 8
or eax, edx
movzx edx, byte [ebp - 0x26]
shl eax, 8
or eax, edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
movzx ebx, byte [ebp - 0x21]
movzx eax, byte [ebp - 0x22]
shl ebx, 8
or ebx, eax
mov dword [esi + 0x20], ebx
movzx eax, byte [ebp - 0x1f]
movzx edx, byte [ebp - 0x20]
shl eax, 8
or eax, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
xor eax, eax
mov word [esi + 0x34], ax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x38], eax
xor eax, eax
mov word [esi + 0x5c], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax], esi
lea eax, [esi + 0x68]
mov dword [eax], ecx
mov dword [ebp - 0x5c], eax
cmp ebx, ecx
je 0x1028f7f
lea eax, [ebx + 1]
push eax
call fcn.0101be72
pop ecx
mov dword [esi + 0x58], eax
test eax, eax
je 0x1028f78
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10288ab
push eax
call fcn.0101be72
pop ecx
mov dword [esi + 0x4c], eax
test eax, eax
je 0x1028f78
mov eax, dword [esi + 0x58]
push 0
push ebx
mov byte [eax], 0
push dword [esi + 0x58]
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
mov eax, dword [esi + 0x58]
mov byte [ebx + eax], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10288f1
push 0
push eax
push dword [esi + 0x4c]
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
push 1
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
push eax
mov dword [ebp - 0x50], eax
mov dword [esi + 0x60], eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x24]
push eax
push dword [esi + 0x4c]
call fcn.01028341
test eax, eax
je 0x102892b
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 0x48]
je 0x1028951
push 1
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [edi + 0x5344]
call fcn.01025228
and eax, edx
cmp eax, 0xffffffff
je 0x1028a2c
mov eax, dword [esi + 0x58]
push ebx
push eax
push eax
call dword [sym.imp.USER32.dll_OemToCharBuffA]
push edi
push dword [esi + 0x58]
call fcn.0102591b
mov dword [esi + 0x48], eax
test eax, eax
je 0x1028f78
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x24]
xor edx, edx
lea eax, [eax + ebx + 0x1e]
mov ecx, eax
xor eax, eax
add ecx, dword [ebp - 0x50]
adc edx, eax
mov eax, dword [ebp - 0x4c]
add ecx, eax
adc edx, dword [ebp - 0x48]
add dword [ebp - 0x44], ecx
adc dword [ebp - 0x40], edx
inc dword [edi + 0x1374]
test byte [ebp - 0x60], 8
je 0x1028b05
or eax, dword [ebp - 0x48]
jne 0x1028a85
xor ebx, ebx
push ebx
push 1
lea eax, [ebp - 0x39]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
mov al, byte [ebp - 0x39]
je 0x10289d5
cmp al, 0x50
jne 0x10289b8
push ebx
mov byte [ebp - 0x38], al
push 0xf
lea eax, [ebp - 0x37]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x1028a33
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x8074b50
je 0x1028a33
push 1
push 0xffffffffffffffff
push 0xfffffffffffffff1
push dword [edi + 0x5344]
call fcn.01025228
and eax, edx
cmp eax, 0xffffffff
jne 0x10289b6
push 2
jmp 0x102861d
movzx eax, byte [ebp - 0x2d]
movzx ecx, byte [ebp - 0x2e]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2f]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x30]
push 1
shl eax, 8
or eax, ecx
add dword [ebp - 0x44], eax
push ebx
push ebx
push dword [edi + 0x5344]
adc dword [ebp - 0x40], ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
call fcn.01025228
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
add ecx, 0x10
adc ebx, 0
cmp eax, ecx
jne 0x1028f7f
cmp edx, ebx
jmp 0x1028ae2
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [edi + 0x5344]
call fcn.01025228
and eax, edx
cmp eax, 0xffffffff
je 0x102861b
push 0
push 0x10
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x8074b50
jne 0x1028f7f
lea eax, [ebp - 0x34]
mov edx, eax
push 0xc
sub esi, edx
pop ecx
add esi, 0xa
mov dl, byte [eax]
mov byte [eax + esi], dl
inc eax
dec ecx
jne 0x1028af5
add dword [ebp - 0x44], 0x10
adc dword [ebp - 0x40], ecx
push 0
push 4
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x4034b50
je 0x102870b
mov eax, dword [ebp - 0x44]
movzx ecx, byte [ebp - 0x36]
mov ebx, dword [edi + 0x1370]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
movzx eax, byte [ebp - 0x35]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x2014b50
jne 0x1028ebc
xor esi, esi
cmp ebx, esi
je 0x1028f7f
mov edi, dword [ebp - 0x58]
push esi
push 0x2a
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
movzx ax, byte [ebp - 0x37]
movzx cx, byte [ebp - 0x38]
shl ax, 8
or ax, cx
mov word [ebx], ax
movzx ax, byte [ebp - 0x35]
movzx cx, byte [ebp - 0x36]
shl ax, 8
or ax, cx
mov word [ebx + 2], ax
movzx ax, byte [ebp - 0x33]
movzx cx, byte [ebp - 0x34]
shl ax, 8
or ax, cx
mov word [ebx + 4], ax
movzx ax, byte [ebp - 0x33]
movzx cx, byte [ebp - 0x34]
shl ax, 8
or ax, cx
mov word [ebx + 0x36], ax
movzx ax, byte [ebp - 0x31]
movzx cx, byte [ebp - 0x32]
shl ax, 8
or ax, cx
mov word [ebx + 6], ax
movzx eax, byte [ebp - 0x2d]
movzx ecx, byte [ebp - 0x2e]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2f]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x30]
shl eax, 8
or eax, ecx
mov dword [ebx + 8], eax
movzx eax, byte [ebp - 0x29]
movzx ecx, byte [ebp - 0x2a]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2b]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2c]
shl eax, 8
or eax, ecx
mov dword [ebx + 0xc], eax
movzx eax, byte [ebp - 0x25]
movzx ecx, byte [ebp - 0x26]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x27]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x28]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], esi
movzx eax, byte [ebp - 0x21]
movzx ecx, byte [ebp - 0x22]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x23]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x24]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
movzx eax, byte [ebp - 0x1f]
movzx ecx, byte [ebp - 0x20]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x20], eax
movzx eax, byte [ebp - 0x1d]
movzx ecx, byte [ebp - 0x1e]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x28], eax
movzx eax, byte [ebp - 0x1b]
movzx ecx, byte [ebp - 0x1c]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x2c], eax
movzx eax, byte [ebp - 0x19]
movzx ecx, byte [ebp - 0x1a]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x30], eax
movzx ax, byte [ebp - 0x17]
movzx cx, byte [ebp - 0x18]
shl ax, 8
or ax, cx
mov word [ebx + 0x34], ax
movzx eax, byte [ebp - 0x13]
movzx ecx, byte [ebp - 0x14]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x15]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x16]
push dword [ebx + 0x20]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x38], eax
movzx eax, byte [ebp - 0xf]
movzx ecx, byte [ebp - 0x10]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x11]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x12]
shl eax, 8
or eax, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
call fcn.0101be72
pop ecx
mov dword [ebp - 0x50], eax
cmp eax, esi
je 0x1028f78
push esi
push dword [ebx + 0x20]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x1028f86
push dword [ebx + 0x20]
mov esi, dword [ebp - 0x50]
push esi
push esi
call dword [sym.imp.USER32.dll_OemToCharBuffA]
mov ecx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x58]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1028f99
push dword [ebp - 0x50]
call fcn.0101be7e
mov eax, dword [ebx + 0x28]
and dword [ebp - 0x50], 0
and dword [ebx + 0x64], 0
pop ecx
test eax, eax
je 0x1028e1c
push eax
call fcn.0101be72
pop ecx
mov dword [ebx + 0x50], eax
test eax, eax
je 0x1028f78
push 0
lea esi, [ebx + 0x28]
push dword [esi]
push eax
mov eax, dword [ebp - 0x58]
push dword [eax + 0x5344]
call fcn.01027b21
test eax, eax
je 0x1028f9d
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0x18]
push eax
push esi
push dword [ebx + 0x50]
call fcn.01028341
test eax, eax
je 0x1028dfa
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x64], eax
mov ecx, dword [ebx + 0x24]
cmp ecx, dword [esi]
jne 0x1028e1c
mov eax, dword [ebx + 0x50]
mov esi, dword [ebx + 0x4c]
mov edi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1028e1c
push eax
call fcn.0101be7e
mov eax, dword [ebx + 0x4c]
pop ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1028e51
push eax
call fcn.0101be72
pop ecx
mov dword [ebx + 0x54], eax
test eax, eax
je 0x1028f78
push 0
push dword [ebx + 0x2c]
push eax
mov eax, dword [ebp - 0x58]
push dword [eax + 0x5344]
call fcn.01027b21
test eax, eax
je 0x1028fab
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebp - 0x44]
jne 0x1028f7f
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebp - 0x40]
jne 0x1028f7f
xor eax, eax
push eax
mov word [ebx + 0x5c], ax
mov ebx, dword [ebx + 0x68]
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x58]
push dword [eax + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x2014b50
je 0x1028b86
mov edi, dword [ebp - 0x58]
test ebx, ebx
jne 0x1028f7f
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x6054b50
je 0x1029047
cmp eax, 0x6064b50
jne 0x1028f7f
or esi, 0xffffffff
inc ebx
push 0
push ebx
lea eax, [ebp - 0x39]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
mov al, byte [ebp - 0x39]
je 0x1028f1a
cmp al, 0x50
jne 0x1028efd
push 0
mov byte [ebp - 0x38], al
push 3
lea eax, [ebp - 0x37]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x1028a2c
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x7064b50
je 0x1028fb0
push ebx
push esi
push 0xfffffffffffffffd
push dword [edi + 0x5344]
call fcn.01025228
and eax, edx
cmp eax, esi
jne 0x1028efd
jmp 0x1028a2c
push 4
jmp 0x102861d
push 3
jmp 0x102861d
push 0xb
pop esi
push dword [ebp - 0x50]
call fcn.0101be7e
pop ecx
mov eax, esi
jmp 0x1029115
push 3
jmp 0x1028f88
push dword [ebx + 0x50]
call fcn.0101be7e
pop ecx
jmp 0x102861b
push dword [ebx + 0x54]
jmp 0x1028fa0
push 0
push ebx
lea eax, [ebp - 0x39]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
mov al, byte [ebp - 0x39]
je 0x1028fcd
cmp al, 0x50
jne 0x1028fb0
push 0
mov byte [ebp - 0x38], al
push 3
lea eax, [ebp - 0x37]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x1028a2c
movzx eax, byte [ebp - 0x35]
movzx ecx, byte [ebp - 0x36]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x37]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x38]
shl eax, 8
or eax, ecx
cmp eax, 0x6054b50
je 0x102902b
push ebx
push esi
push 0xfffffffffffffffd
push dword [edi + 0x5344]
call fcn.01025228
and eax, edx
cmp eax, esi
jne 0x1028fb0
jmp 0x1028a2c
push 0
push 0x12
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
jne 0x10290ae
jmp 0x102861b
push 0
push 0x12
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x5344]
call fcn.01027b21
test eax, eax
je 0x102861b
movzx eax, byte [ebp - 0x33]
movzx ecx, byte [ebp - 0x34]
shl eax, 8
or eax, ecx
cmp dword [edi + 0x1374], eax
jne 0x1028f7f
movzx eax, byte [ebp - 0x29]
movzx ecx, byte [ebp - 0x2a]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2b]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2c]
shl eax, 8
or eax, ecx
xor ecx, ecx
cmp eax, dword [ebp - 0x4c]
jne 0x1028f7f
cmp ecx, dword [ebp - 0x48]
jne 0x1028f7f
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x1368], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x136c], eax
mov eax, dword [edi + 0x1374]
test eax, eax
je 0x1029113
shl eax, 2
push eax
call fcn.0101be72
pop ecx
mov ecx, eax
mov dword [edi + 0x1378], eax
test ecx, ecx
je 0x1028f78
mov eax, dword [edi + 0x1370]
jmp 0x10290f4
mov dword [ecx], eax
mov eax, dword [eax + 0x68]
add ecx, 4
test eax, eax
jne 0x10290ec
push 0x102780d
push 4
push dword [edi + 0x1374]
push dword [edi + 0x1378]
call fcn.0102cbca
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret 4