Function at 0x41b990
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53acba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x10], esi
call fcn.00473490
push 1
push 0x5875fc
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0045d120
mov edi, dword [esi + 0xd8]
xor eax, eax
cmp edi, 2
lea ecx, [ebp - 0xe0]
sete al
mov dword [ebp - 0x40], eax
call fcn.00473490
mov ecx, dword [ebp + 0x1c]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xe0]
call fcn.004734b0
mov ebx, eax
test ebx, ebx
jne 0x41ba51
mov esi, 0x54d7d0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], al
mov dword [ebp - 0xe0], esi
call fcn.00473690
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa4], esi
call fcn.00473690
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x2c
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x20]
mov edx, ecx
mov edi, ebx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
cdq
sub eax, edx
and ecx, 3
sar eax, 1
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x41bac8
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebp + 0x1c]
sub eax, esi
sub eax, edi
test eax, eax
jle 0x41baa2
lea edx, [esi + edi]
lea ecx, [edi + ebx]
push eax
add edx, ebx
push ecx
push edx
call fcn.00502cf0
add esp, 0xc
mov ecx, esi
xor eax, eax
mov edx, ecx
add edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add ecx, 8
dec eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x14], eax
jne 0x41ba7c
mov eax, dword [ebp - 0x40]
mov word [ebx], 0x5a4d
test eax, eax
jne 0x41bae6
jmp 0x41bad7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xa4]
push eax
call fcn.0041b810
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
and eax, 0x80000007
jns 0x41baf8
dec eax
or eax, 0xfffffff8
inc eax
je 0x41bb09
mov edx, 8
sub edx, eax
push edx
push 0
call fcn.00473d50
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
push eax
push ebx
mov ecx, esi
call fcn.00473d50
mov ecx, dword [ebx + 0x3c]
push 0x4550
add ebx, ecx
mov ecx, esi
call fcn.00473750
mov ax, word [ebx + 6]
add ebx, 4
mov ecx, eax
add eax, 2
and ecx, 0xffff
push 0x14
mov dword [ebp + 0x20], ecx
push ebx
mov ecx, esi
mov dword [ebx + 4], 0x59bffa3
mov word [ebx + 2], ax
call fcn.00473d50
mov eax, dword [ebp - 0x10]
lea edi, [ebx + 0x14]
xor ecx, ecx
mov dword [ebp - 0x64], edi
mov cx, word [ebx + 0x10]
mov byte [edi + 2], 4
mov byte [edi + 3], 0
mov dx, word [eax + 0x124]
mov ebx, ecx
mov word [edi + 0x2c], dx
mov cx, word [eax + 0x128]
add ebx, edi
mov word [edi + 0x2e], cx
lea ecx, [eax + 0xc0]
mov dword [edi + 0x40], 0
call fcn.004556f0
test eax, eax
je 0x41bba6
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xd8], 1
jne 0x41bbac
mov word [edi + 0x44], 3
mov eax, dword [esi + 0x10]
push 0xe0
push edi
mov ecx, esi
mov dword [ebp - 0xf8], eax
call fcn.00473d50
mov eax, dword [ebp + 0x20]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x34], ecx
mov ecx, esi
lea eax, [eax + eax*4]
shl eax, 3
push eax
push ebx
mov dword [ebp - 0x38], eax
call fcn.00473d50
push 0x50
push 0
mov ecx, esi
call fcn.00473d50
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x24]
xor edx, edx
mov dword [ebp + 0x18], eax
div ecx
test edx, edx
je 0x41bc13
sub ecx, edx
mov dword [ebp + 0x1c], ecx
push ecx
push 0
mov ecx, esi
call fcn.00473d50
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add eax, edx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x20]
test eax, eax
jle 0x41bc54
add ebx, 0x14
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebx]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebx - 4]
add edx, eax
push ecx
push edx
mov ecx, esi
call fcn.00473d50
mov eax, dword [ebp + 0x1c]
add ebx, 0x28
dec eax
mov dword [ebp + 0x1c], eax
jne 0x41bc26
mov eax, dword [esi + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, eax
sub ecx, edx
test eax, eax
mov dword [ebp - 0x90], ecx
je 0x41bc6b
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x34]
mov dword [ebp + 0x1c], 0
add eax, ecx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
mov dword [ebp + 0x24], eax
jle 0x41bcad
mov ebx, dword [ebp + 0x14]
add eax, 0x10
mov dword [ebp - 0x18], ecx
mov dword [eax + 4], ebx
mov ecx, dword [eax]
mov edx, dword [eax - 4]
add edx, ecx
cmp edx, dword [ebp + 0x1c]
jbe 0x41bc9c
mov dword [ebp + 0x1c], edx
add ebx, ecx
mov ecx, dword [ebp - 0x18]
add eax, 0x28
dec ecx
mov dword [ebp - 0x18], ecx
jne 0x41bc8a
mov dword [ebp + 0x14], ebx
mov edi, dword [edi + 0x20]
mov eax, dword [ebp + 0x1c]
xor edx, edx
div edi
test edx, edx
je 0x41bcc5
mov eax, dword [ebp + 0x1c]
sub edi, edx
add eax, edi
mov dword [ebp + 0x1c], eax
lea ecx, [ebp - 0xf4]
call fcn.00473490
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 2
test eax, eax
je 0x41bdca
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], 0xffffffff
mov ebx, dword [eax + 0x10]
mov eax, dword [esi + 0x10]
shr ebx, 2
test eax, eax
jne 0x41bcfa
xor esi, esi
jmp 0x41bcfd
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x90]
mov edi, dword [ebp + 0x18]
add ecx, 0xfffffffc
xor eax, eax
test ecx, ecx
lea edx, [esi + edi]
jle 0x41bd29
cmp dword [edx + eax], 0x86543210
je 0x41bd22
inc eax
cmp eax, ecx
jl 0x41bd12
jmp 0x41bd29
lea edx, [edi + eax + 4]
mov dword [ebp - 0x18], edx
mov esi, dword [ebp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x41bd69
mov eax, dword [ebp + 0x24]
lea edx, [eax + 0x10]
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0x18]
cmp edi, eax
jle 0x41bd4b
mov edi, dword [edx]
add edi, eax
cmp dword [ebp - 0x18], edi
jl 0x41bd55
inc ecx
add edx, 0x28
cmp ecx, esi
jl 0x41bd38
jmp 0x41bd69
mov edx, dword [ebp + 0x24]
lea ecx, [ecx + ecx*4]
mov ecx, dword [edx + ecx*8 + 0xc]
sub ecx, eax
mov eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp + 0x24], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
xor edi, edi
mov esi, dword [eax + 0x10]
add esi, ecx
test ebx, ebx
jle 0x41bdcd
push esi
lea ecx, [ebp - 0xf4]
call fcn.00473750
mov ecx, dword [ebp + 8]
push 0xb8
call fcn.004737d0
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov eax, dword [eax + edi*4]
push eax
call fcn.00473750
mov ecx, dword [ebp + 8]
push 0xe9
call fcn.004737d0
mov ecx, dword [ebp + 0x24]
add esi, 0xa
sub ecx, esi
push ecx
mov ecx, dword [ebp + 8]
call fcn.00473750
inc edi
cmp edi, ebx
jl 0x41bd7a
jmp 0x41bdcd
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + 0x24]
xor edx, edx
div ecx
test edx, edx
je 0x41bdee
sub ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push 0
call fcn.00473d50
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [ebp - 0x18], ecx
jne 0x41bdff
xor eax, eax
jmp 0x41be02
mov eax, dword [eax + 8]
mov esi, dword [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00473d50
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x41be19
xor eax, eax
jmp 0x41be1c
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
add eax, edx
mov edi, str..data
mov dword [ebp + 0x24], eax
lea edx, [ecx + eax]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x2c], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], esi
mov edx, dword [ebp - 0x64]
add esi, ecx
add eax, ecx
mov ecx, dword [edx + 0x20]
xor edx, edx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x14], esi
div ecx
test edx, edx
je 0x41be8c
mov eax, dword [ebp + 0x1c]
sub ecx, edx
add eax, ecx
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x24], 0xe0000040
call fcn.00473490
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 3
test eax, eax
jne 0x41c2bb
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x9c]
neg esi
sbb esi, esi
and esi, ecx
lea ecx, [ebp - 0x8c]
call fcn.00473490
mov dword [ebp - 0x8c], 0x54d910
xor ebx, ebx
mov byte [ebp - 4], 4
mov bx, word [esi + 4]
test ebx, ebx
jle 0x41bef9
add esi, 6
mov edi, ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00473750
add esi, 0x10
dec edi
jne 0x41bee7
mov esi, dword [0x5999dc]
mov dword [ebp + 8], esi
call 0x41bf07
add dword [esp], 6
ret
mov ecx, dword [ebp + 0x1c]
xor eax, eax
lea edi, [ebp - 0xcc]
lea esi, [ecx + 0x28]
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + ebx*4]
lea edi, [ebx*4]
mov dword [ebp - 0xc8], 0x3925136b
mov dx, word [eax + 0x124]
mov ax, word [eax + 0x128]
mov word [ebp - 0xc4], dx
lea edx, [esi + ecx*2]
lea ecx, [esi + ebx*8]
mov word [ebp - 0xc2], ax
lea eax, [edi + esi]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xac], eax
mov eax, ecx
mov dword [ebp - 0xc0], edx
mov edx, dword [ebp - 0xec]
push ecx
neg eax
sbb eax, eax
lea ecx, [ebp - 0x2c]
and eax, edx
mov dword [ebp - 0xbc], 1
push eax
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb0], esi
call fcn.00473d50
mov edx, dword [ebp - 0x1c]
push edi
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edx
call fcn.00473d50
xor edi, edi
test ebx, ebx
jle 0x41c37d
push edi
lea ecx, [ebp - 0x2c]
call fcn.00473790
inc edi
cmp edi, ebx
jl 0x41c36f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + 0xfc]
push eax
call fcn.00473800
lea ecx, [ebp - 0x8c]
call fcn.00473490
xor edi, edi
mov byte [ebp - 4], 6
test ebx, ebx
jle 0x41c3ec
mov ecx, dword [ebp - 0x10]
add ecx, 0x2b0
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x8c]
add edx, esi
push edx
call fcn.00473750
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0x3c]
push 0
push edx
mov ecx, dword [eax + 8]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp + 8]
push eax
call fcn.004d2df0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
push eax
call fcn.00473800
inc edi
cmp edi, ebx
jl 0x41c3b0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x84]
mov esi, ecx
mov edi, dword [ebp - 0x24]
neg esi
sbb esi, esi
mov edx, dword [ebp - 0x38]
and esi, eax
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
push 0x28
and eax, edi
lea edi, [eax + edx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xcc]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00473cb0
mov byte [ebp - 4], 3
mov dword [ebp - 0x8c], 0x54d7d0
lea ecx, [ebp - 0x8c]
call fcn.00473690
mov eax, dword [ebp - 0x1c]
mov edi, eax
and eax, 0x80000007
mov dword [ebp + 8], edi
jns 0x41c45d
dec eax
or eax, 0xfffffff8
inc eax
je 0x41c476
mov esi, 8
lea ecx, [ebp - 0x2c]
sub esi, eax
push esi
push 0
call fcn.00473d50
add edi, esi
mov dword [ebp + 8], edi
mov edx, dword [ebp - 0x64]
mov eax, edi
mov ecx, dword [edx + 0x24]
xor edx, edx
div ecx
test edx, edx
je 0x41c493
sub ecx, edx
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00473d50
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x2c]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp - 0x40]
test eax, eax
lea ebx, [ecx + 0x28]
mov edi, str..data
jne 0x41c4b0
mov edi, str..rsrc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x24], 0x40000040
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x41c4fa
xor esi, esi
jmp 0x41c4fd
mov esi, dword [ecx + 8]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp + 0x28]
add esi, ecx
lea ecx, [edx + eax]
xor edx, edx
mov edi, dword [esi + 0x20]
mov eax, ecx
div edi
mov dword [esi + 0x38], ecx
test edx, edx
je 0x41c522
sub edi, edx
add edi, ecx
mov dword [esi + 0x38], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x28]
add ecx, eax
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [ebx + 0xc]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 2
mov dword [esi + eax*8 + 0x60], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0x18]
mov dword [esi + eax*8 + 0x64], ecx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x3c], edx
test eax, eax
je 0x41c5fc
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0xffffffff
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x41c572
xor esi, esi
jmp 0x41c575
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0x90]
add esi, edx
lea ecx, [eax - 4]
xor eax, eax
test ecx, ecx
jle 0x41c5b3
mov bl, 0x24
cmp dword [esi], 0x12345678
jne 0x41c5a6
cmp eax, 3
jle 0x41c5a6
cmp byte [esi - 3], 0x81
jne 0x41c5a6
cmp byte [esi - 2], 4
jne 0x41c5a6
cmp byte [esi - 1], bl
je 0x41c5ae
inc esi
inc eax
cmp eax, ecx
jl 0x41c588
jmp 0x41c5b3
add edx, eax
mov dword [ebp + 8], edx
mov edi, dword [ebp + 0x20]
xor eax, eax
test edi, edi
jle 0x41c5fc
mov ecx, dword [ebp + 0x24]
lea edx, [ecx + 0x10]
mov ecx, dword [edx + 4]
mov ebx, dword [ebp + 8]
cmp ebx, ecx
jle 0x41c5d5
mov ebx, ecx
add ebx, dword [edx]
cmp dword [ebp + 8], ebx
jl 0x41c5df
inc eax
add edx, 0x28
cmp eax, edi
jl 0x41c5c2
jmp 0x41c5fc
mov edi, dword [ebp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [edi + edx*8 + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
sub eax, ebx
sub eax, edx
lea ecx, [eax + ecx + 3]
mov dword [esi], ecx
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 0xc]
neg eax
sbb eax, eax
push edx
and eax, edi
push eax
call fcn.00473d50
mov esi, 0x54d7d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], esi
call fcn.00473690
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
mov dword [ebp - 0xf4], esi
call fcn.00473690
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0
mov dword [ebp - 0xe0], esi
call fcn.00473690
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa4], esi
call fcn.00473690
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x2c