Function at 0x1000c1f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x844
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, 0x1dd3
mov word [ebp - 0xd0], ax
mov eax, dword [0x100431d4]
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
xor ecx, ecx
mov dword [ebp - 0x70], 0xa312a854
mov dword [ebp - 0x6c], ecx
mov edx, 0xbfd20
mov dword [ebp - 0x68], 0xc1a5d0c7
mov dword [ebp - 0x64], edx
mov ax, word [0x100431c0]
mov word [ebp - 0x2c], ax
mov ecx, dword [0x10043148]
mov dword [ebp - 0xc8], ecx
mov edx, dword [0x10043190]
mov eax, dword [0x10043194]
mov dword [ebp - 0x12c], eax
mov word [ebp - 0x38], dx
mov ecx, dword [0x10043150]
mov edx, dword [0x10043154]
mov dword [ebp - 0x130], edx
mov word [ebp - 0x54], cx
mov dword [ebp - 0x48], 0xaf99
xor eax, eax
mov dword [ebp - 0x104], 0xd1
mov dword [ebp - 0x100], eax
xor ecx, ecx
mov dword [ebp - 0x16c], 0x97
mov dword [ebp - 0x168], ecx
movsx dx, byte [0x10043093]
mov word [ebp - 0x58], dx
xor eax, eax
mov dword [ebp - 0xa4], 0x8ecd0a4d
mov dword [ebp - 0xa0], eax
mov ecx, dword [0x10043150]
mov edx, dword [0x10043154]
mov dword [ebp - 0x134], edx
mov word [ebp - 0x30], cx
mov byte [ebp - 0x11], 0xf9
mov dword [ebp - 0x5c], 0x69ce71e1
movsx eax, word [0x100431b8]
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
movzx eax, word [0x10043170]
mov dword [ebp - 0x3c], eax
movzx ecx, byte [0x1004310f]
mov dword [ebp - 0x24], ecx
mov edx, 3
mov word [ebp - 0x34], dx
mov dword [ebp - 0x138], 0x2b05444b
mov al, byte [0x10043120]
mov byte [ebp - 0x49], al
mov dword [ebp - 0x90], 0xbf8b6657
mov byte [ebp - 0x19], 0xa0
mov ecx, 0xffffc68c
mov word [ebp - 0x20], cx
movzx eax, word [0x10043170]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
mov edx, 0xc
mov word [ebp - 0xd4], dx
movsx eax, byte [0x10043112]
cdq
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edx
mov byte [ebp - 0x4a], 0x6b
mov al, byte [0x10043120]
mov byte [ebp - 0x4b], al
mov ecx, 0xffffa97d
mov word [ebp - 0xd8], cx
mov edx, 0xabfe
mov word [ebp - 0xdc], dx
mov dword [ebp - 0x13c], 0xad05e8b8
mov ax, word [0x1004318c]
mov word [ebp - 0xe0], ax
mov ecx, dword [0x10043120]
xor edx, edx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], edx
mov al, byte [0x10043164]
mov byte [ebp - 0x4c], al
xor ecx, ecx
mov dword [ebp - 0x184], 0xaf
mov dword [ebp - 0x180], ecx
mov edx, dword [0x10043178]
mov eax, dword [0x1004317c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], edx
mov cx, word [0x10043170]
mov word [ebp - 0xe4], cx
movzx eax, byte [0x10043032]
cdq
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
movsx dx, byte [0x10043093]
mov word [ebp - 0xe8], dx
mov eax, 0xd48
mov word [ebp - 0xec], ax
mov dword [ebp - 0x148], 0x85c3fece
mov byte [ebp - 0x4d], 0xd2
mov ecx, dword [0x10043174]
mov word [ebp - 0xc0], cx
mov dword [ebp - 0x14c], 0xfc984f0e
mov dl, byte [0x1004305a]
mov byte [ebp - 0x4e], dl
mov byte [ebp - 0x4f], 0xe0
mov ax, word [0x1004315c]
mov word [ebp - 0xc4], ax
movzx ecx, byte [0x1004305a]
and ecx, 0x59
mov edx, dword [0x100431d0]
sub edx, ecx
mov dword [0x100431d0], edx
mov ax, word [ebp - 0x70]
mov word [ebp - 0x34], ax
mov ecx, dword [0x10043cbc]
mov dword [ebp - 0x60], ecx
movsx eax, byte [ebp - 0x11]
shl eax, 5
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
movsx eax, byte [0x1004310e]
cdq
or eax, 0x402634f4
or edx, 0x5fa4f
not eax
not edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x60]
add edx, 0x563
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [0x10043cbc]
mov dword [0x100431d0], eax
mov ecx, dword [0x10043cbc]
mov dword [ebp - 0x3c], ecx
jmp 0x1000c54d
mov dword [ebp - 4], 0
jmp 0x1000c55d
jmp 0x1000c56e
mov dword [ebp - 4], 0xffffffff
jmp 0x1000c57e
mov eax, dword [ebp - 0x60]
add eax, 0x447
mov dword [ebp - 0x150], eax
mov ecx, dword [0x100431b0]
mov edx, dword [0x100431b4]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], esi
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [ebp - 0xf8]
jb 0x1000c701
ja 0x1000c5dc
mov edx, dword [ebp - 0xf4]
cmp edx, dword [ebp - 0xfc]
jb 0x1000c701
mov eax, 4
mov word [ebp - 0x2c], ax
imul ecx, dword [0x10043188], 0xfbd638f4
xor edx, edx
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
push edx
push ecx
push esi
push eax
call fcn.10023240
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
movzx ecx, word [ebp - 0x2c]
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0x74], 4
ja case.default.0x1000c61a
mov edx, dword [ebp - 0x74]
jmp dword [edx*4 + 0x1000ce44]
mov byte [ebp - 0x11], 0x45
jmp case.default.0x1000c61a
imul eax, dword [0x1004318c], 0xa16e
mov dword [ebp - 0x48], eax
mov eax, dword [0x100431d4]
cdq
mov ecx, eax
mov esi, edx
mov edx, dword [0x1004316c]
add ecx, dword [0x10043168]
adc esi, edx
mov eax, dword [0x100431d4]
cdq
push esi
push ecx
push edx
push eax
call fcn.10023240
mov dword [0x100431d4], eax
jmp case.default.0x1000c61a
movzx eax, byte [0x1004305a]
add eax, dword [0x10043120]
movzx ecx, byte [0x1004305a]
and ecx, eax
mov byte [0x1004305a], cl
movzx eax, byte [0x1004300a]
movzx edx, word [0x1004315c]
imul eax, edx
imul eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
jmp case.default.0x1000c61a
mov eax, dword [0x100431d0]
sub eax, 0xea
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x154], ecx
mov byte [0x1004310e], al
jmp case.default.0x1000c61a
movsx edx, word [ebp - 0x20]
mov dword [ebp - 0x24], edx
movsx eax, byte [ebp - 0x11]
cdq
mov ecx, dword [0x10043190]
mov esi, dword [0x10043194]
push esi
push ecx
push edx
push eax
call fcn.10023240
mov ecx, eax
movsx eax, byte [ebp - 0x11]
cdq
add eax, ecx
mov byte [ebp - 0x11], al
jmp 0x1000c73f
cmp dword [0x1004318c], 0
je 0x1000c73f
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x158], eax
mov ecx, 1
imul eax, ecx, 0x4c
mov byte [eax + 0x101dffc0], dl
mov ecx, 1
imul edx, ecx, 0xe
movzx eax, byte [edx + 0x100c04d0]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x284
mov dword [ebp - 0x15c], ecx
jmp 0x1000c75a
jmp 0x1000c770
jmp 0x1000c790
mov edx, dword [ebp - 0x78]
cmp dword [ebp - 0x78], edx
jne 0x1000ce2f
movsx eax, word [0x100431b8]
cmp dword [0x10043164], eax
jne 0x1000c804
mov dword [ebp - 4], 4
movsx eax, word [ebp - 0x20]
cdq
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
push esi
push ecx
push edx
push eax
call fcn.10023240
mov word [ebp - 0x20], ax
mov edx, dword [ebp - 0x48]
sub edx, 0xb3ddcffc
mov word [ebp - 0x20], dx
jmp 0x1000c7f2
mov dword [ebp - 4], 0xffffffff
jmp 0x1000c802
jmp 0x1000c833
movzx edx, word [0x10043170]
test edx, edx
je 0x1000c833
movsx eax, byte [ebp - 0x19]
test eax, eax
je 0x1000c822
mov ecx, dword [0x10043148]
mov dword [ebp - 0x7c], ecx
jmp 0x1000c82b
mov edx, dword [0x1004318c]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [0x10043174], eax
mov dword [ebp - 0x18], 0
mov dword [0x100431d4], 4
mov ecx, dword [0x10043cbc]
xor edx, edx
mov dword [0x10043178], ecx
mov dword [0x1004317c], edx
mov eax, dword [0x100431d4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 4
ja case.default.0x1000c86d
mov ecx, dword [ebp - 0x80]
jmp dword [ecx*4 + 0x1000ce58]
movzx edx, word [ebp - 0x30]
mov eax, dword [0x10043148]
sub eax, edx
mov ecx, dword [0x10043148]
add ecx, eax
mov dword [0x10043148], ecx
jmp case.default.0x1000c86d
mov edx, dword [0x10043190]
mov eax, dword [0x10043194]
mov dword [ebp - 0x160], eax
sub edx, 0x44b70b02
mov byte [0x10043112], dl
mov ecx, dword [ebp - 0x24]
sub ecx, 0x24c78c42
mov edx, dword [ebp - 0x48]
add edx, ecx
mov dword [ebp - 0x48], edx
jmp case.default.0x1000c86d
mov eax, dword [0x10043138]
xor ecx, ecx
add eax, dword [ebp - 0xa4]
adc ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
jmp case.default.0x1000c86d
imul eax, dword [ebp - 0x3c], 0x69
cdq
mov dword [0x10043130], eax
mov dword [0x10043134], edx
jmp case.default.0x1000c86d
mov edx, dword [ebp - 0x24]
mov word [0x10043170], dx
mov eax, dword [0x10043cbc]
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov edx, dword [0x10043cbc]
xor eax, eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
movzx ecx, word [0x10043170]
test ecx, ecx
jne 0x1000c936
xor edx, edx
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], edx
jmp 0x1000c941
xorps xmm0, xmm0
movlpd qword [ebp - 0xbc], xmm0
movsx eax, byte [0x10043093]
test eax, eax
jne 0x1000c958
mov dword [ebp - 0x84], 1
jmp 0x1000c962
mov dword [ebp - 0x84], 0
mov ecx, dword [0x10043140]
mov esi, dword [0x10043144]
add ecx, dword [ebp - 0xbc]
adc esi, dword [ebp - 0xb8]
not ecx
not esi
movzx eax, word [0x10043170]
or eax, dword [ebp - 0x84]
cdq
push edx
push eax
push esi
push ecx
call fcn.10023240
mov dword [0x10043130], eax
mov dword [0x10043134], edx
movsx eax, word [ebp - 0x20]
cdq
mov ecx, dword [0x100431b0]
mov esi, dword [0x100431b4]
sub ecx, eax
sbb esi, edx
mov dword [0x100431b0], ecx
mov dword [0x100431b4], esi
mov dword [ebp - 4], 6
movsx edx, word [ebp - 0x58]
sub edx, 0x6a9bedcd
mov dword [0x10043174], edx
jmp 0x1000c9f5
mov dword [ebp - 4], 0xffffffff
jmp 0x1000ca05
mov edx, dword [0x10043118]
or edx, dword [0x1004311c]
je 0x1000cba1
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], eax
jge 0x1000ca2b
mov dword [ebp - 0x88], 1
jmp 0x1000ca35
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x5c], 0x1c
jge 0x1000ca47
mov dword [ebp - 0x8c], 1
jmp 0x1000ca51
mov dword [ebp - 0x8c], 0
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [ebp - 0x8c]
jge 0x1000cae3
mov edx, dword [0x100431c8]
mov eax, dword [0x100431cc]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x10c]
or ecx, dword [ebp - 0x108]
jne 0x1000ca9c
xor edx, edx
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x110], edx
jmp 0x1000caa7
xorps xmm0, xmm0
movlpd qword [ebp - 0x114], xmm0
movzx eax, word [ebp - 0x30]
movsx ecx, byte [ebp - 0x19]
sub eax, ecx
movzx edx, word [ebp - 0x34]
sub eax, edx
not eax
cdq
mov ecx, eax
mov esi, dword [ebp - 0x70]
sub esi, dword [ebp - 0x114]
movzx eax, word [0x1004315c]
cdq
mov edx, 0xdd77b133
sub edx, eax
add esi, edx
add ecx, esi
mov dword [0x100431d4], ecx
jmp 0x1000cb9f
mov eax, dword [0x10043190]
mov ecx, dword [0x10043194]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x11c]
or edx, dword [ebp - 0x118]
je 0x1000cb35
mov eax, 1
imul ecx, eax, 0x53b6
movzx edx, byte [ecx + 0x100c0518]
add edx, dword [ebp - 0x90]
mov dword [ebp - 0x90], edx
mov eax, dword [0x10043138]
sub eax, 0x97e1b92a
mov dword [ebp - 0x24], eax
jmp 0x1000cb9f
movsx ecx, word [ebp - 0x38]
test ecx, ecx
je 0x1000cb61
mov eax, dword [ebp - 0x24]
cdq
mov ecx, eax
mov edx, dword [0x10043190]
mov eax, dword [0x10043194]
mov dword [ebp - 0x128], eax
sub ecx, edx
mov eax, dword [ebp - 0x24]
cdq
or eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x1000cb9f
mov ecx, dword [0x10043140]
mov edx, dword [0x10043144]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x124]
or eax, dword [ebp - 0x120]
je 0x1000cb9f
cmp dword [ebp - 0x24], 0
je 0x1000cb9f
xor ecx, ecx
mov dword [0x10043118], 0xe5
mov dword [0x1004311c], ecx
jmp 0x1000cbca
cmp dword [ebp - 0x3c], 0x28f8ffab
jg 0x1000cbca
movzx eax, word [0x10043170]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
mov edx, dword [0x10043160]
add edx, 6
mov dword [ebp - 0x3c], edx
mov ecx, 0x10
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x1cc]
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x1cc]
cmp eax, 0x5a4d
jne 0x1000ce1c
cmp dword [ebp - 0x190], 0x40
jbe 0x1000cc1e
mov ecx, dword [ebp - 0x190]
sub ecx, 0x40
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
mov eax, 1
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x854]
push edx
call fcn.100242a0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x190]
mov dword [ebp - 0x94], eax
mov ecx, 0x3e
mov esi, dword [ebp - 0x94]
lea edi, [ebp - 0x2c4]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x2c4], 0x4550
jne 0x1000ce1c
movzx ecx, word [ebp - 0x2be]
imul edx, ecx, 0x28
push edx
mov eax, dword [ebp - 0x94]
add eax, 0xf8
push eax
mov ecx, 0x28
imul edx, ecx, 0
lea eax, [ebp + edx - 0x454]
push eax
call fcn.100242a0
add esp, 0xc
push 0x40
push 0x103000
mov ecx, dword [ebp - 0x274]
push ecx
push 0
push 0
push 0
call fcn.10001290
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000ce1c
mov ecx, 0x10
lea esi, [ebp - 0x1cc]
mov edi, dword [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
add edi, dword [ebp - 0x190]
mov ecx, 0x3e
lea esi, [ebp - 0x2c4]
rep movsd dword es:[edi], dword [esi]
movzx edx, word [ebp - 0x2be]
imul eax, edx, 0x28
push eax
mov ecx, 0x28
imul edx, ecx, 0
lea eax, [ebp + edx - 0x454]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx + 0xf8]
push eax
call fcn.100242a0
add esp, 0xc
cmp dword [ebp - 0x190], 0x40
jbe 0x1000cd33
mov ecx, dword [ebp - 0x190]
sub ecx, 0x40
push ecx
mov edx, 1
imul eax, edx, 0
lea ecx, [ebp + eax - 0x854]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x40
push edx
call fcn.100242a0
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x1000cd45
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
movzx ecx, word [ebp - 0x2be]
cmp dword [ebp - 0x28], ecx
jge 0x1000cd91
imul edx, dword [ebp - 0x28], 0x28
mov eax, dword [ebp + 8]
add eax, dword [ebp + edx - 0x440]
mov dword [ebp - 0xcc], eax
imul ecx, dword [ebp - 0x28], 0x28
mov edx, dword [ebp + ecx - 0x444]
push edx
mov eax, dword [ebp - 0xcc]
push eax
imul ecx, dword [ebp - 0x28], 0x28
mov edx, dword [ebp - 0x18]
add edx, dword [ebp + ecx - 0x448]
push edx
call fcn.100242a0
add esp, 0xc
jmp 0x1000cd3c
mov eax, dword [ebp - 0x18]
push eax
call fcn.10013cb0
test eax, eax
jne 0x1000cdbd
push 0x8000
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0
call fcn.100012c0
call eax
mov dword [ebp - 0x18], 0
jmp 0x1000ce1c
mov edx, dword [ebp - 0x18]
push edx
call fcn.100049f0
test eax, eax
jne 0x1000cde9
push 0x8000
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call fcn.100012c0
call eax
mov dword [ebp - 0x18], 0
jmp 0x1000ce1c
movzx ecx, word [ebp - 0x2ae]
and ecx, 0x2000
jne 0x1000ce01
mov edx, dword [ebp - 0x18]
push edx
call fcn.10013c40
mov eax, dword [ebp - 0x18]
push eax
call fcn.100059a0
mov eax, dword [ebp - 0x29c]
add eax, dword [ebp - 0x18]
push 0
push 1
push dword [ebp - 0x18]
call eax
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
mov cl, 4
call fcn.10023280
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4