Function at 0x411d61
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebx + 0xa0], edi
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], edi
je 0x411d9f
call fcn.00412711
mov eax, dword [ebp + 8]
push eax
mov dword [ebx + 0xc], eax
call dword [0x10010060]
cmp eax, 1
je 0x411dc7
push 0x10014e04
push 1
push 0x6d
push 0x100158d4
call fcn.00411b41
add esp, 0x10
mov eax, dword [ebx + 0xc]
push edi
push edi
push edi
push eax
call dword [0x10010048]
cmp eax, 0xffffffff
jne 0x411dee
push 0x10015a2c
push edi
push 0x71
push 0x100158d4
call fcn.00411451
add esp, 0x10
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x10]
push eax
push ecx
call dword [0x10010080]
test eax, eax
jne 0x411e15
push 0x10015a08
push edi
push 0x73
push 0x100158d4
call fcn.00411451
add esp, 0x10
cmp dword [ebp + 0xc], edi
jne 0x411e1f
mov dword [ebx + 0x20], edi
jmp 0x411e26
mov dword [ebx + 0x20], 1
lea ecx, [ebx + 0x24]
call fcn.004171c1
push 0x10000
call fcn.004113d1
add esp, 4
cmp eax, edi
mov dword [ebx + 0x7c], eax
jne 0x411e57
push 0x10014e80
push edi
push 0x7b
push 0x100158d4
call fcn.00411451
add esp, 0x10
mov dword [ebx + 0x98], edi
mov dword [ebx + 0x9c], edi
mov dword [ebx + 0x90], edi
mov dword [ebx + 0x94], edi
mov dword [ebx + 0x88], edi
lea esi, [ebx + 0xe4]
mov dword [ebx + 0x8c], edi
lea edx, [ebp - 0x14]
mov dword [ebx + 0x80], edi
push edi
mov word [esi], di
mov eax, dword [ebx + 0xc]
push edx
push 2
push esi
push eax
call dword [0x1001004c]
test eax, eax
jne 0x411eb8
push 0x100159ec
push edi
push 0x88
push 0x100158d4
call fcn.00411451
add esp, 0x10
cmp word [esi], 0x5a4d
je 0x411ed8
push 0x100159dc
push 1
push 0x89
push 0x100158d4
call fcn.00411b41
add esp, 0x10
mov edx, dword [ebx + 0x20]
xor ecx, ecx
push edx
xor eax, eax
push 0x40
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00413fb1
cmp eax, edi
jne 0x411ef5
call fcn.00411c71
mov eax, dword [ebx + 0x120]
mov edx, dword [ebx + 0x14]
xor ecx, ecx
add eax, 4
cmp ecx, edx
jl 0x411f31
jg 0x411f0e
cmp eax, dword [ebx + 0x10]
jbe 0x411f31
push 0x100159c4
push 1
push 0x94
push 0x100158d4
mov dword [ebx + 0xa0], 2
call fcn.00411b41
add esp, 0x10
mov eax, dword [ebx + 0x120]
lea ecx, [ebp - 0x18]
cdq
mov edi, eax
mov eax, dword [ebx + 0x20]
mov esi, edx
push eax
push 4
push esi
push edi
push ecx
mov ecx, ebx
call fcn.00413fb1
test eax, eax
jne 0x411f58
call fcn.00411c71
mov ecx, dword [ebp - 0x18]
mov eax, ecx
and eax, 0xffff
sub eax, 0x454c
je 0x411fde
sub eax, 2
je 0x411fa1
sub eax, 2
je 0x411f8b
push 0x100159c4
push 1
mov dword [ebx + 0xa0], 2
push 0xae
jmp 0x411ff4
cmp ecx, 0x4550
je 0x412001
push 0x100159b4
push 1
push 0xaa
jmp 0x411ff4
mov dword [ebx + 0xa0], 3
mov edx, dword [ebx + 0x20]
add edi, 2
push edx
adc esi, 0
push 0x40
push esi
lea eax, [ebx + 0xa4]
push edi
push eax
mov ecx, ebx
call fcn.00413fb1
test eax, eax
jne 0x411fd0
call fcn.00411c71
push 0x1001599c
push 1
push 0xa2
jmp 0x411ff4
push 0x10015984
push 1
mov dword [ebx + 0xa0], 4
push 0xa6
push 0x100158d4
call fcn.00411b41
add esp, 0x10
mov dword [ebx + 0xa0], 6
mov ecx, dword [ebx + 0x20]
add edi, 4
push ecx
adc esi, 0
push 0x14
lea eax, [ebx + 0x124]
push esi
push edi
push eax
mov ecx, ebx
call fcn.00413fb1
test eax, eax
jne 0x412030
call fcn.00411c71
mov ax, word [ebx + 0x124]
add edi, 0x14
adc esi, 0
cmp ax, 0x14c
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
je 0x412078
cmp ax, 0x200
je 0x412078
cmp ax, 0x8664
je 0x412078
push 0x10015960
push 1
push 0xbc
push 0x100158d4
mov dword [ebx + 0xa0], 5
call fcn.00411b41
add esp, 0x10
mov edx, dword [ebx + 0x20]
lea eax, [ebx + 0x138]
push edx
push 2
push esi
push edi
push eax
mov ecx, ebx
call fcn.00413fb1
test eax, eax
jne 0x412097
call fcn.00411c71
mov ax, word [ebx + 0x138]
cmp ax, 0x10b
jne 0x4122fb
xor eax, eax
mov ax, word [ebx + 0x134]
cmp eax, 0xe0
mov dword [ebp - 0x14], eax
jbe 0x4120c3
mov eax, 0xe0
mov dword [ebp - 0x14], eax
mov edx, dword [ebx + 0x20]
lea ecx, [ebx + 0x2e4]
push edx
push eax
push esi
push edi
push ecx
mov ecx, ebx
call fcn.00413fb1
test eax, eax
jne 0x4120e1
call fcn.00411c71
lea eax, [ebx + 0x2e4]
mov dword [ebx + 0x250], eax
add eax, 0x60
mov dword [ebx + 0x258], eax
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 0x5c]
mov dword [ebx + 0x13c], ecx
mov edx, dword [ebx + 0x250]
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x140], eax
mov ecx, dword [ebx + 0x250]
mov edx, dword [ecx + 0x20]
mov dword [ebx + 0x144], edx
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 0x38]
mov dword [ebx + 0x14c], ecx
mov edx, dword [ebx + 0x250]
mov eax, dword [edx + 0x24]
mov dword [ebx + 0x148], eax
mov ecx, dword [ebx + 0x250]
mov edx, dword [ecx + 4]
mov dword [ebx + 0x150], edx
mov eax, dword [ebx + 0x250]
xor edx, edx
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x158], ecx
mov dword [ebx + 0x15c], edx
mov eax, dword [ebx + 0x250]
mov cx, word [eax]
mov word [ebx + 0x160], cx
mov eax, dword [ebx + 0x250]
mov cl, byte [eax + 2]
mov byte [ebx + 0x162], cl
mov eax, dword [ebx + 0x250]
mov cl, byte [eax + 3]
mov byte [ebx + 0x163], cl
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 4]
mov dword [ebx + 0x164], ecx
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 8]
mov dword [ebx + 0x168], ecx
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x16c], ecx
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x170], ecx
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x174], ecx
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x178], ecx
mov dword [ebx + 0x17c], edx
mov eax, dword [ebx + 0x250]
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x180], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x184], ecx
mov cx, word [eax + 0x28]
mov word [ebx + 0x188], cx
mov cx, word [eax + 0x2a]
mov word [ebx + 0x18a], cx
mov cx, word [eax + 0x2c]
mov word [ebx + 0x18c], cx
mov cx, word [eax + 0x2e]
mov word [ebx + 0x18e], cx
mov cx, word [eax + 0x30]
mov word [ebx + 0x190], cx
mov cx, word [eax + 0x32]
mov word [ebx + 0x192], cx
mov ecx, dword [eax + 0x34]
mov dword [ebx + 0x194], ecx
mov ecx, dword [eax + 0x38]
mov dword [ebx + 0x198], ecx
mov ecx, dword [eax + 0x3c]
mov dword [ebx + 0x19c], ecx
mov ecx, dword [eax + 0x40]
mov dword [ebx + 0x1a0], ecx
mov cx, word [eax + 0x44]
mov word [ebx + 0x1a4], cx
mov cx, word [eax + 0x46]
mov word [ebx + 0x1a6], cx
mov ecx, dword [eax + 0x48]
mov dword [ebx + 0x1a8], ecx
mov dword [ebx + 0x1ac], edx
mov ecx, dword [eax + 0x4c]
lea esi, [eax + 0x60]
mov dword [ebx + 0x1b0], ecx
mov dword [ebx + 0x1b4], edx
mov ecx, dword [eax + 0x50]
lea edi, [ebx + 0x1d0]
mov dword [ebx + 0x1b8], ecx
mov dword [ebx + 0x1bc], edx
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x24], edx
mov dword [ebx + 0x1c0], ecx
mov dword [ebx + 0x1c4], edx
mov ecx, dword [eax + 0x58]
mov dword [ebx + 0x1c8], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebx + 0x1cc], ecx
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x24]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jmp 0x4123d8
cmp ax, 0x20b
jne 0x4123bf
xor eax, eax
mov ax, word [ebx + 0x134]
cmp eax, 0xf0
mov dword [ebp - 0x14], eax
jbe 0x412320
mov eax, 0xf0
mov dword [ebp - 0x14], eax
mov edx, dword [ebx + 0x20]
lea ecx, [ebx + 0x2e4]
push edx
push eax
push esi
push edi
push ecx
mov ecx, ebx
call fcn.00413fb1
test eax, eax
jne 0x41233e
call fcn.00411c71
lea eax, [ebx + 0x2e4]
lea edi, [ebx + 0x160]
mov dword [ebx + 0x254], eax
mov esi, eax
lea ecx, [eax + 0x70]
mov dword [ebp - 0x24], 0
mov dword [ebx + 0x258], ecx
mov edx, dword [eax + 0x6c]
mov dword [ebx + 0x13c], edx
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x140], ecx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x144], edx
mov ecx, dword [eax + 0x38]
mov dword [ebx + 0x14c], ecx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x148], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 0x150], ecx
mov edx, dword [eax + 0x18]
mov dword [ebx + 0x158], edx
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x15c], ecx
mov ecx, 0x3c
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x24]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
jmp 0x4123d8
push 0x10015944
push 1
push 0x106
push 0x100158d4
call fcn.00411b41
add esp, 0x10
mov ecx, dword [ebx + 0x13c]
mov eax, 0x10
cmp ecx, eax
jbe 0x4123ed
mov dword [ebx + 0x13c], eax
xor eax, eax
mov ecx, ebx
mov ax, word [ebx + 0x134]
cdq
add edi, eax
adc esi, edx
call fcn.00414a11
test eax, eax
jne 0x41240b
call fcn.00411c71
xor eax, eax
mov ax, word [ebx + 0x126]
mov dword [ebx + 0x3d4], eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.004113d1
add esp, 4
mov dword [ebx + 0x3d8], eax
test eax, eax
jne 0x41244b
push 0x10014e80
push eax
push 0x10f
push 0x100158d4
call fcn.00411451
add esp, 0x10
mov eax, dword [ebx + 0x3d4]
mov ecx, dword [ebx + 0x20]
push ecx
mov ecx, ebx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x3d8]
shl edx, 3
push edx
push esi
push edi
push eax
call fcn.00413fb1
test eax, eax
jne 0x412475
call fcn.00411c71
mov eax, dword [ebx + 0x3d4]
lea ecx, [eax + eax*4]
shl ecx, 3
add edi, ecx
mov ecx, ebx
adc esi, 0
call fcn.00414691
test eax, eax
jne 0x412496
call fcn.00411c71
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov edx, ecx
push eax
add edx, edi
mov edi, eax
adc edi, esi
sub edx, 1
sbb edi, 0
push ecx
push edi
push edx
call fcn.004180b1
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
push ecx
push edx
push eax
call fcn.00418071
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov edx, dword [ebx + 0x3d4]
shl edx, 2
push edx
call fcn.004113d1
add esp, 4
mov dword [ebx + 0x3dc], eax
test eax, eax
jne 0x4124fc
push 0x10014e80
push eax
push 0x117
push 0x100158d4
call fcn.00411451
add esp, 0x10
mov ecx, dword [ebx + 0x3d4]
mov edi, dword [ebx + 0x3dc]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + 0x3d4]
jae 0x41261b
mov ecx, dword [ebx + 0x3d8]
lea eax, [eax + eax*4]
push 8
lea edx, [ecx + eax*8]
lea eax, [ebp - 0x3c]
push edx
push eax
call dword [0x100100f0]
lea ecx, [ebp - 0x3c]
add esp, 0xc
test ecx, ecx
mov byte [ebp - 0x34], 0
jne 0x412557
xor esi, esi
jmp 0x41258a
lea edx, [ebp - 0x3c]
push edx
call dword [0x1001000c]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0040ba21
mov esi, esp
push edi
push esi
lea eax, [ebp - 0x3c]
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [esi], 0
call dword [0x10010024]
push esi
call dword [0x100100b4]
mov edi, eax
inc edi
lea ecx, [edi + edi]
push ecx
call fcn.004113d1
mov edx, dword [ebx + 0x3dc]
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0x3dc]
cmp dword [eax + ecx*4], 0
jne 0x4125d1
push 0x10014e80
push 0
push 0x122
push 0x100158d4
call fcn.00411451
add esp, 0x10
cmp edi, 0x7fffffff
ja 0x41260f
mov edx, dword [ebx + 0x3dc]
mov eax, dword [ebp + 8]
test edi, edi
mov eax, dword [edx + eax*4]
mov ecx, esi
je 0x41260f
test edi, edi
je 0x412607
mov dx, word [ecx]
test dx, dx
je 0x412603
mov word [eax], dx
add eax, 2
add ecx, 2
dec edi
jmp 0x4125eb
test edi, edi
jne 0x41260a
sub eax, 2
mov word [eax], 0
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
jmp 0x412520
mov ecx, dword [ebx + 0x3d4]
shl ecx, 2
push ecx
call fcn.004113d1
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [ebx + 0x3e0], eax
jne 0x412651
push 0x10014e80
push esi
push 0x129
push 0x100158d4
call fcn.00411451
add esp, 0x10
mov ecx, ebx
call fcn.00414581
mov edx, dword [ebx + 0x3d4]
mov eax, dword [ebx + 0x3e0]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [ebx + 0x3d8]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [edx + ecx*8 + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x10]
add ecx, edx
xor edx, edx
sub eax, ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0x3e8], eax
sbb ecx, edx
mov eax, ecx
mov dword [ebx + 0x3ec], ecx
cmp eax, esi
jg 0x4126b1
jl 0x4126a5
cmp dword [ebx + 0x3e8], esi
jae 0x4126b1
mov dword [ebx + 0x3e8], esi
mov dword [ebx + 0x3ec], esi
mov esi, 1
mov dword [ebx + 0xa0], esi
jmp 0x4126d8
test esi, esi
mov dword [ebp - 4], 0xffffffff
jne 0x4126ea
mov ecx, ebx
call fcn.00412711
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x48]
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8