Function at 0x407920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b681
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
xor eax, eax
mov dword [ebp - 0x10], ecx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push edi
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4082ad
mov edi, dword [eax + 4]
mov eax, dword [eax]
or eax, edi
je 0x4082ad
xor esi, esi
mov dword [ebp - 0xd4], fcn.0042716d
mov dword [ebp - 0xd0], esi
push 0x40
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.004213e0
push 0x108
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.004213e0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x12c]
add esp, 0x14
mov ecx, dword [ecx + 4]
push eax
push 0x40
push edi
mov edi, dword [ebp + 0xc]
push dword [edi]
call fcn.0040f5d0
mov eax, 0x5a4d
cmp word [ebp - 0x12c], ax
je 0x407a18
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xc0]
push eax
call fcn.00408300
jmp 0x4082cc
push ecx
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp - 0xf0]
cdq
add eax, dword [edi]
push 0x108
adc edx, dword [edi + 4]
push edx
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
call fcn.0040f5d0
cmp dword [ebp - 0x234], 0x4550
je 0x407a5e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xc0]
push eax
call fcn.00408300
jmp 0x4082cc
mov eax, dword [ebp - 0x21c]
mov edx, 0x10b
mov edi, dword [ebp - 0x1ac]
cmp ax, dx
cmove edi, dword [ebp - 0x1bc]
mov dword [ebp - 0x30], edi
test edi, edi
je 0x407cd4
mov ecx, dword [ebp - 0x1a8]
cmp ax, dx
cmove ecx, dword [ebp - 0x1b8]
push ecx
mov dword [ebp - 0x14], ecx
call fcn.004282a0
mov esi, eax
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp + 0xc]
mov eax, 0
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0xd0], esi
add ecx, dword [edx]
adc eax, dword [edx + 4]
push eax
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, dword [eax + 4]
call fcn.0040f5d0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
sub eax, edi
add eax, esi
sub ecx, edi
mov dword [ebp - 0xc4], eax
add ecx, esi
mov eax, dword [esi + 0x1c]
sub eax, edi
mov dword [ebp - 0xc8], ecx
add eax, esi
xor edi, edi
mov dword [ebp - 0xcc], eax
cmp dword [esi + 0x14], edi
jbe 0x407cd4
mov edx, dword [ebp + 0x10]
xor eax, eax
cmp edx, 0xffff
ja 0x407b10
movzx ecx, di
jmp 0x407b2b
cmp edi, dword [esi + 0x18]
jae 0x40826c
mov eax, dword [ebp - 0xc4]
movzx ecx, word [ecx + edi*2]
mov eax, dword [eax + edi*4]
sub eax, dword [ebp - 0x30]
add eax, esi
mov dword [ebp - 0x7c], ecx
cmp edx, 0xffff
ja 0x407c92
movzx ecx, cx
add ecx, dword [esi + 0x10]
movzx eax, dx
cmp eax, ecx
jne 0x407cc4
mov eax, dword [ebp + 0xc]
mov ecx, 0
mov edi, dword [ebp - 0xcc]
mov esi, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x7c]
movzx eax, ax
mov edi, dword [edi + eax*4]
mov eax, dword [esi + 4]
add edi, edx
mov esi, dword [ebp - 0x80]
adc ecx, eax
mov dword [ebp - 0xc0], edi
add edx, dword [ebp - 0x30]
mov dword [ebp + 0x10], ecx
adc eax, 0
mov dword [ebp - 0xbc], ecx
cmp ecx, eax
jb 0x407cd4
ja 0x407b98
cmp edi, edx
jb 0x407cd4
mov edx, dword [ebp + 0xc]
xor eax, eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [edx]
adc eax, dword [edx + 4]
mov edx, ecx
add edx, dword [ebp - 0x30]
adc eax, 0
cmp dword [ebp + 0x10], eax
ja 0x407cd4
jb 0x407bc0
cmp edi, edx
ja 0x407cd4
push 0xff
lea eax, [ebp - 0x334]
push 0
push eax
call fcn.004213e0
add esp, 8
lea eax, [ebp - 0x334]
push eax
mov eax, dword [ebp - 0x10]
push 0xff
push dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push edi
call fcn.0040f5d0
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x60], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407c10
sub ecx, edx
lea eax, [ebp - 0x334]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00402850
push 0
push 0x48c74c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00408570
push eax
push 0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x60]
call fcn.00408520
mov edi, eax
mov byte [ebp - 4], 7
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x407cee
lea eax, [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x407c76
mov eax, dword [edi]
push 4
lea esi, [eax + ecx]
push str..dll
push esi
call fcn.00420e60
mov byte [esi + 4], 0
add esp, 0xc
mov esi, dword [ebp - 0x80]
jmp 0x407d07
mov ecx, edx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407cb4
test dl, dl
je 0x407cb0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407cb4
add eax, 2
add ecx, 2
test dl, dl
jne 0x407c94
xor eax, eax
jmp 0x407cb9
sbb eax, eax
or eax, 1
test eax, eax
je 0x407b4b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc8]
inc edi
cmp edi, dword [esi + 0x14]
jb 0x407b01
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
call fcn.00408300
mov byte [ebp - 4], 0xf
jmp 0x408281
push 4
push str..dll
mov byte [ebp + 0xc], 0
mov ecx, edi
push dword [ebp + 0xc]
push 4
call fcn.00408a40
mov edi, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x68], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xd8]
cmp edx, 0x10
jb 0x407d75
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407d6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082ec
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0xffffffffffffffff
push 0
push 0x48c750
lea ecx, [ebp - 0x60]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
call fcn.00408570
inc eax
lea ecx, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408520
push ecx
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x48]
call fcn.00403830
add esp, 4
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0x86], 1
call fcn.00406ad0
push 0
push 0x48c754
lea ecx, [ebp - 0x2c]
call fcn.00408570
test eax, eax
sete byte [ebp - 0x85]
test eax, eax
lea eax, [ebp - 0x2c]
jne 0x407e19
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.00427e32
mov di, ax
add esp, 4
mov word [ebp - 0x88], di
jmp 0x407e37
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00402850
mov di, word [ebp - 0x88]
push dword [ebp + 0x14]
xor eax, eax
mov ecx, 0x10b
cmp word [ebp - 0x21c], cx
mov ecx, dword [ebp - 0x10]
setne al
push eax
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00407380
mov edx, eax
test edx, edx
jne 0x407fae
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
call fcn.00408300
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x407eb3
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407ea9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 0x10
jb 0x407eff
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407ef5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x407f49
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407f3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x407f93
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407f89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0xc
jmp 0x408281
cmp byte [ebp - 0x85], 0
je 0x408111
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
cmovae eax, dword [ebp - 0x48]
push eax
movzx eax, di
mov edi, dword [ebp + 8]
push eax
push edx
push edi
call fcn.00407920
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x408016
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40800c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 0x10
jb 0x408062
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408058
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4080ac
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4080a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x4080f6
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4080ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0xd
jmp 0x408281
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
push eax
push edx
push edi
call fcn.00407920
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x408174
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40816a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 0x10
jb 0x4081c0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4081b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x40820a
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408200
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x408254
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40824a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4082f1
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0xe
jmp 0x408281
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
call fcn.00408300
mov byte [ebp - 4], 5
test esi, esi
je 0x40828e
push esi
call fcn.0042716d
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.00404b30
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword fs:[0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xbf4], 0xc00000ef
lea eax, [ebp - 0xc0]
push eax
call fcn.00408300
lea ecx, [ebp - 0xc0]
call fcn.00404b30
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00424b90
call fcn.00424b90
int3