Function at 0x426120
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x10f8
push ebx
call fcn.0046e9d0
push esi
push edi
push 0x30
lea eax, [ebp - 0x60]
mov dword [ebp - 0x24], 0
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x1c], edi
call fcn.00470f10
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x18], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov ecx, 0x10000
mov esi, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], esi
mov eax, dword [edi]
lea esi, [ebp - 0x60]
push esi
push edx
push ecx
mov eax, dword [eax + 0x18]
mov ecx, edi
call eax
mov esi, dword [ebp - 0x14]
cmp eax, 0xc000000d
je 0x4265c7
cmp eax, 0xc0000022
je 0x4265c7
cmp eax, 0xc000010a
je 0x4265c7
test eax, eax
jne 0x4265a1
cmp dword [ebp - 0x40], 0x1000
jne 0x4265a1
cmp dword [ebp - 0x38], 0x1000000
jne 0x4265a1
mov edi, dword [ebp - 0x58]
cmp esi, edi
mov esi, dword [ebp - 0x54]
jne 0x42621c
cmp dword [ebp - 0x20], esi
je 0x42659e
push 0x1000
lea eax, [ebp - 0x1100]
push 0
push eax
call fcn.00470f10
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x900]
add esp, 0xc
mov eax, dword [eax]
push 0x800
push ecx
push 2
mov eax, dword [eax + 0x14]
push esi
push edi
mov edi, dword [ebp - 0x1c]
mov ecx, edi
call eax
test eax, eax
js 0x426590
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
push 0
push 0x800
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1100]
mov eax, dword [edi]
push ecx
push dword [ebp - 0x54]
mov ecx, edi
push dword [ebp - 0x58]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x4262c9
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
call fcn.004057c0
jmp 0x4265a1
mov eax, dword [ebp - 0x10c4]
lea ecx, [ebp - 0x1100]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1100], cx
jne 0x426335
cmp dword [eax], 0x4550
jne 0x426335
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x426313
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0
jmp 0x4263c7
mov edx, 0x20b
cmp cx, dx
jne 0x4262b5
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 1
jmp 0x4263c7
push 0x30
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.00470f10
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov ecx, dword [ebp - 0x58]
cmp edx, 0x7fff
ja 0x4263bd
jb 0x426360
cmp ecx, 0xfffeffff
jae 0x4263bd
mov eax, dword [edi]
lea esi, [ebp - 0x100]
push esi
push edx
push ecx
mov eax, dword [eax + 0x18]
mov ecx, edi
call eax
test eax, eax
js 0x4263ae
cmp dword [ebp - 0xd8], 0x1000000
jne 0x4263ae
mov ecx, dword [ebp - 0xe8]
add ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xe4]
adc edx, dword [ebp - 0xfc]
cmp edx, 0x7fff
jb 0x426360
ja 0x4263bd
cmp ecx, 0xfffeffff
jb 0x426360
jmp 0x4263bd
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 3
sub esp, 0x18
xor eax, eax
cmp byte [edi + 0xe], 1
mov edx, esp
jne 0x4263fd
mov esi, dword [ebp - 0x8fc]
mov ecx, esi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
mov word [edx], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4263f0
jmp 0x42642b
mov esi, dword [ebp - 0x8f8]
mov ecx, esi
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426420
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00402f30
lea ecx, [ebp - 0x78]
call fcn.00402af0
add esp, 0x18
lea ecx, [ebp - 0xa8]
push eax
call fcn.004095f0
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x426489
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42647f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4265df
push edx
push ecx
call fcn.0046d4cf
add esp, 8
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x78]
call fcn.00402440
push eax
lea ecx, [ebp - 0xc0]
call fcn.004095f0
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x4264dd
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4264d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4265df
push edx
push ecx
call fcn.0046d4cf
add esp, 8
mov ecx, dword [ebp - 0x54]
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
movlpd qword [ebp - 0x88], xmm0
mov byte [ebp - 0x80], 0
call fcn.004114f0
mov edx, eax
mov byte [ebp - 4], 2
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42654a
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [esi + 4], 8
jmp 0x426553
push edx
push ecx
mov ecx, esi
call fcn.00422840
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x42657e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x42657e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x42657e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0
call fcn.004057c0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], esi
jmp 0x4265a1
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x44]
adc edx, dword [ebp - 0x5c]
cmp edx, 0x7fff
ja 0x4265c7
jb 0x4261b4
cmp ecx, 0xfffeffff
jb 0x4261b4
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00472aca
int3