Function at 0x102c8de
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x109726d
call fcn.01077478
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10a6184]
mov esi, dword [ebp + 0x10]
mov edi, 0x10a6184
cmp eax, edi
mov dword [ebp - 4], 1
mov ebx, 0x1005290
je 0x102c92d
test byte [eax + 0x1c], 1
je 0x102c92d
cmp byte [eax + 0x19], 5
jb 0x102c92d
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105eb4c
and dword [esi], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x102d072
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x102d072
xor esi, esi
cmp ecx, esi
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], esi
jl 0x102ca95
mov eax, dword [ebp + 8]
mov ax, word [eax]
cmp ax, 0x2d
jne 0x102c99d
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102c997
test byte [eax + 0x1c], 2
je 0x102c997
cmp byte [eax + 0x19], 5
jb 0x102c997
push ebx
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
mov byte [ebp - 0xe], 1
jmp 0x102c9d3
cmp ecx, esi
jl 0x102ca95
cmp ax, 0x2b
mov eax, dword [0x10a6184]
jne 0x102c9db
cmp eax, edi
je 0x102c9d3
test byte [eax + 0x1c], 2
je 0x102c9d3
cmp byte [eax + 0x19], 5
jb 0x102c9d3
push ebx
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x102c9fe
cmp eax, edi
je 0x102c9fe
test byte [eax + 0x1c], 2
je 0x102c9fe
cmp byte [eax + 0x19], 5
jb 0x102c9fe
push ebx
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
mov ecx, dword [ebp + 8]
cmp esi, dword [ecx - 0xc]
jl 0x102ca55
cmp eax, edi
je 0x102ca4e
test byte [eax + 0x1c], 2
je 0x102ca29
cmp byte [eax + 0x19], 2
jb 0x102ca29
push ebx
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102ca4e
test byte [eax + 0x1c], 1
je 0x102ca4e
cmp byte [eax + 0x19], 5
jb 0x102ca4e
mov ecx, dword [ebp + 0x10]
push dword [ecx]
push 0
push ebx
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
xor bl, bl
jmp 0x102d058
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx - 0xc]
test edx, edx
jl 0x102ca95
mov cx, word [ecx]
cmp cx, 0x2d
jne 0x102ca91
cmp eax, edi
je 0x102ca8b
test byte [eax + 0x1c], 2
je 0x102ca8b
cmp byte [eax + 0x19], 5
jb 0x102ca8b
push ebx
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
mov byte [ebp - 0xd], 1
jmp 0x102cac8
test edx, edx
jge 0x102ca9f
push 0x80070057
call fcn.01009695
cmp cx, 0x2b
jne 0x102cad1
cmp eax, edi
je 0x102cac8
test byte [eax + 0x1c], 2
je 0x102cac8
cmp byte [eax + 0x19], 5
jb 0x102cac8
push ebx
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
mov dword [ebp - 0x14], 1
jmp 0x102caf4
cmp eax, edi
je 0x102caf4
test byte [eax + 0x1c], 2
je 0x102caf4
cmp byte [eax + 0x19], 5
jb 0x102caf4
push ebx
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx - 0xc]
jl 0x102cb51
cmp eax, edi
je 0x102ca4e
test byte [eax + 0x1c], 2
je 0x102cb26
cmp byte [eax + 0x19], 2
jb 0x102cb26
push ebx
push 0x49
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102ca4e
test byte [eax + 0x1c], 1
je 0x102ca4e
cmp byte [eax + 0x19], 5
jb 0x102ca4e
mov ecx, dword [ebp + 0x10]
push dword [ecx]
push 0
push ebx
push 0x4a
jmp 0x102ca43
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0xc]
and dword [ebp - 0x18], 0
cmp esi, ecx
jge 0x102cb7f
push esi
lea ecx, [ebp + 8]
call fcn.0102108c
cmp ax, 0x30
jne 0x102cb7a
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
mov dword [ebp - 0x20], esi
jl 0x102cb5f
mov eax, dword [0x10a6184]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
cmp ecx, dword [edx - 0xc]
jge 0x102cbae
push dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
call fcn.0102108c
cmp ax, 0x30
jne 0x102cba9
inc dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax - 0xc]
jl 0x102cb8a
mov eax, dword [0x10a6184]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0xc]
sub ecx, esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [ebp - 0x14]
cmp eax, edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ecx
je 0x102cbec
test byte [eax + 0x1c], 2
je 0x102cbec
cmp byte [eax + 0x19], 5
jb 0x102cbec
push ecx
push esi
push ebx
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
mov eax, dword [0x10a6184]
cmp dword [ebp - 0x24], esi
jle 0x102ccf4
or dword [ebp - 0x18], 0xffffffff
cmp eax, edi
je 0x102cc17
test byte [eax + 0x1c], 2
je 0x102cc17
cmp byte [eax + 0x19], 5
jb 0x102cc17
push ebx
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov esi, 0x10a8b2c
push esi
lea ecx, [ebp - 0x1c]
call fcn.01020db5
push esi
lea ecx, [ebp - 0x24]
call fcn.01020db5
push dword [ebp - 0x20]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0100ab3a
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0100a6f4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.01009cd1
mov esi, 0x1004b90
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0102144b
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0100a6f4
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.01009cd1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.01021045
test al, al
je 0x102cd7b
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102cced
test byte [eax + 0x1c], 2
je 0x102ccc8
cmp byte [eax + 0x19], 2
jb 0x102ccc8
push ebx
push 0x50
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102cced
test byte [eax + 0x1c], 1
je 0x102cced
cmp byte [eax + 0x19], 5
jb 0x102cced
mov ecx, dword [ebp + 0x10]
push dword [ecx]
push 0
push ebx
push 0x51
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
xor bl, bl
jmp 0x102d042
jge 0x102cd21
cmp eax, edi
mov dword [ebp - 0x18], 1
je 0x102cc17
test byte [eax + 0x1c], 2
je 0x102cc17
cmp byte [eax + 0x19], 5
jb 0x102cc17
push ebx
push 0x4d
jmp 0x102cc0c
test esi, esi
jne 0x102cc17
cmp eax, edi
je 0x102cd47
test byte [eax + 0x1c], 2
je 0x102cd47
cmp byte [eax + 0x19], 5
jb 0x102cd47
push ebx
push 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102cd74
test byte [eax + 0x1c], 1
je 0x102cd74
cmp byte [eax + 0x19], 5
jb 0x102cd74
push 0
push 1
push ebx
push 0x4f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
mov bl, 1
jmp 0x102d058
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 0xc]
call fcn.0100ab3a
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0100a6f4
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.01009cd1
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0102144b
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0100a6f4
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.01009cd1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.01021045
test al, al
mov eax, dword [0x10a6184]
je 0x102ce37
cmp eax, edi
je 0x102cced
test byte [eax + 0x1c], 2
je 0x102ce0c
cmp byte [eax + 0x19], 2
jb 0x102ce0c
push ebx
push 0x52
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102cced
test byte [eax + 0x1c], 1
je 0x102cced
cmp byte [eax + 0x19], 5
jb 0x102cced
mov ecx, dword [ebp + 0x10]
push dword [ecx]
push 0
push ebx
push 0x53
jmp 0x102cce2
xor esi, esi
cmp dword [ebp - 0x18], esi
jne 0x102cf44
cmp eax, edi
je 0x102ce65
test byte [eax + 0x1c], 2
je 0x102ce65
cmp byte [eax + 0x19], 5
jb 0x102ce65
push ebx
push 0x54
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
jle 0x102cf44
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
sub eax, esi
mov dword [ebp - 0x30], eax
push esi
lea ecx, [ebp + 8]
call fcn.0102108c
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
lea ebx, [eax + esi]
push ebx
call fcn.0102108c
mov dword [ebp - 0x14], eax
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102cece
test byte [eax + 0x1c], 2
je 0x102cece
cmp byte [eax + 0x19], 5
jb 0x102cece
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x20]
push esi
push 0x1005290
push 0x55
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102b9c1
mov eax, dword [0x10a6184]
mov ecx, dword [ebp - 0x20]
cmp cx, word [ebp - 0x14]
jne 0x102cee5
inc dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
inc esi
cmp ecx, dword [ebp - 0x2c]
jl 0x102ce7c
jmp 0x102cf44
jae 0x102cf0a
or dword [ebp - 0x18], 0xffffffff
cmp eax, edi
je 0x102cf44
test byte [eax + 0x1c], 2
je 0x102cf44
cmp byte [eax + 0x19], 5
jb 0x102cf44
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push 0x1005290
push 0x56
jmp 0x102cf34
cmp word [ebp - 0x14], cx
jae 0x102cf44
cmp eax, edi
mov dword [ebp - 0x18], 1
je 0x102cf44
test byte [eax + 0x1c], 2
je 0x102cf44
cmp byte [eax + 0x19], 5
jb 0x102cf44
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push 0x1005290
push 0x57
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102b9ff
mov eax, dword [0x10a6184]
cmp byte [ebp - 0xe], 0
jne 0x102cf82
cmp byte [ebp - 0xd], 0
jne 0x102cfc0
cmp eax, edi
je 0x102cf75
test byte [eax + 0x1c], 2
je 0x102cf75
cmp byte [eax + 0x19], 5
jb 0x102cf75
push dword [ebp - 0x18]
push 0x1005290
push 0x58
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x102d015
cmp byte [ebp - 0xd], 0
je 0x102cfed
cmp eax, edi
je 0x102cfb4
test byte [eax + 0x1c], 2
je 0x102cfb4
cmp byte [eax + 0x19], 5
jb 0x102cfb4
mov esi, dword [ebp - 0x18]
mov ecx, esi
neg ecx
push ecx
push 0x1005290
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009b3f
jmp 0x102cfb7
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
neg esi
mov dword [ecx], esi
jmp 0x102d015
cmp eax, edi
je 0x102cfe2
test byte [eax + 0x1c], 2
je 0x102cfe2
cmp byte [eax + 0x19], 5
jb 0x102cfe2
push 0x1005290
push 0x5a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
jmp 0x102d015
cmp eax, edi
je 0x102d00f
test byte [eax + 0x1c], 2
je 0x102d00f
cmp byte [eax + 0x19], 5
jb 0x102d00f
push 0x1005290
push 0x5b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov ecx, dword [ebp + 0x10]
or dword [ecx], 0xffffffff
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102d040
test byte [eax + 0x1c], 1
je 0x102d040
cmp byte [eax + 0x19], 5
jb 0x102d040
push dword [ecx]
push 1
push 0x1005290
push 0x5c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
mov bl, 1
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.01009cd1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01009cd1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.01009cd1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.01009cd1
mov al, bl
jmp 0x102d0d4
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102d0bc
test byte [eax + 0x1c], 2
je 0x102d09a
cmp byte [eax + 0x19], 2
jb 0x102d09a
push ebx
push 0x3f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01009ab7
mov eax, dword [0x10a6184]
cmp eax, edi
je 0x102d0bc
test byte [eax + 0x1c], 1
je 0x102d0bc
cmp byte [eax + 0x19], 5
jb 0x102d0bc
push dword [esi]
push 0
push ebx
push 0x40
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100ef6e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.01009cd1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.01009cd1
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc