Function at 0x41bb80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ad6a
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.004733a0
push 1
push 0x58764c
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0045d320
mov edi, dword [esi + 0xd8]
xor eax, eax
cmp edi, 2
lea ecx, [ebp - 0xe0]
sete al
mov dword [ebp - 0x40], eax
call fcn.004733a0
mov ecx, dword [ebp + 0x1c]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xe0]
call fcn.004733c0
mov ebx, eax
test ebx, ebx
jne 0x41bc41
mov esi, 0x54d7d0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], al
mov dword [ebp - 0xe0], esi
call fcn.004735a0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa4], esi
call fcn.004735a0
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 0x41bcb8
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 0x41bc92
lea edx, [esi + edi]
lea ecx, [edi + ebx]
push eax
add edx, ebx
push ecx
push edx
call fcn.00502d90
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 0x41bc6c
mov eax, dword [ebp - 0x40]
mov word [ebx], 0x5a4d
test eax, eax
jne 0x41bcd6
jmp 0x41bcc7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xa4]
push eax
call fcn.0041ba00
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
and eax, 0x80000007
jns 0x41bce8
dec eax
or eax, 0xfffffff8
inc eax
je 0x41bcf9
mov edx, 8
sub edx, eax
push edx
push 0
call fcn.00473c60
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
push eax
push ebx
mov ecx, esi
call fcn.00473c60
mov ecx, dword [ebx + 0x3c]
push 0x4550
add ebx, ecx
mov ecx, esi
call fcn.00473660
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.00473c60
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.004558d0
test eax, eax
je 0x41bd96
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xd8], 1
jne 0x41bd9c
mov word [edi + 0x44], 3
mov eax, dword [esi + 0x10]
push 0xe0
push edi
mov ecx, esi
mov dword [ebp - 0xf8], eax
call fcn.00473c60
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.00473c60
push 0x50
push 0
mov ecx, esi
call fcn.00473c60
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x24]
xor edx, edx
mov dword [ebp + 0x18], eax
div ecx
test edx, edx
je 0x41be03
sub ecx, edx
mov dword [ebp + 0x1c], ecx
push ecx
push 0
mov ecx, esi
call fcn.00473c60
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 0x41be44
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.00473c60
mov eax, dword [ebp + 0x1c]
add ebx, 0x28
dec eax
mov dword [ebp + 0x1c], eax
jne 0x41be16
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 0x41be5b
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 0x41be9d
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 0x41be8c
mov dword [ebp + 0x1c], edx
add ebx, ecx
mov ecx, dword [ebp - 0x18]
add eax, 0x28
dec ecx
mov dword [ebp - 0x18], ecx
jne 0x41be7a
mov dword [ebp + 0x14], ebx
mov edi, dword [edi + 0x20]
mov eax, dword [ebp + 0x1c]
xor edx, edx
div edi
test edx, edx
je 0x41beb5
mov eax, dword [ebp + 0x1c]
sub edi, edx
add eax, edi
mov dword [ebp + 0x1c], eax
lea ecx, [ebp - 0xf4]
call fcn.004733a0
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 2
test eax, eax
je 0x41bfba
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 0x41beea
xor esi, esi
jmp 0x41beed
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 0x41bf19
cmp dword [edx + eax], 0x86543210
je 0x41bf12
inc eax
cmp eax, ecx
jl 0x41bf02
jmp 0x41bf19
lea edx, [edi + eax + 4]
mov dword [ebp - 0x18], edx
mov esi, dword [ebp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x41bf59
mov eax, dword [ebp + 0x24]
lea edx, [eax + 0x10]
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0x18]
cmp edi, eax
jle 0x41bf3b
mov edi, dword [edx]
add edi, eax
cmp dword [ebp - 0x18], edi
jl 0x41bf45
inc ecx
add edx, 0x28
cmp ecx, esi
jl 0x41bf28
jmp 0x41bf59
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 0x41bfbd
push esi
lea ecx, [ebp - 0xf4]
call fcn.00473660
mov ecx, dword [ebp + 8]
push 0xb8
call fcn.004736e0
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.00473660
mov ecx, dword [ebp + 8]
push 0xe9
call fcn.004736e0
mov ecx, dword [ebp + 0x24]
add esi, 0xa
sub ecx, esi
push ecx
mov ecx, dword [ebp + 8]
call fcn.00473660
inc edi
cmp edi, ebx
jl 0x41bf6a
jmp 0x41bfbd
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 0x41bfde
sub ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push 0
call fcn.00473c60
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [ebp - 0x18], ecx
jne 0x41bfef
xor eax, eax
jmp 0x41bff2
mov eax, dword [eax + 8]
mov esi, dword [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00473c60
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x41c009
xor eax, eax
jmp 0x41c00c
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
add eax, edx
mov edi, 0x587644
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 0x41c07c
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.004733a0
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 3
test eax, eax
jne 0x41c4ab
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x9c]
neg esi
sbb esi, esi
and esi, ecx
lea ecx, [ebp - 0x8c]
call fcn.004733a0
mov dword [ebp - 0x8c], 0x54d910
xor ebx, ebx
mov byte [ebp - 4], 4
mov bx, word [esi + 4]
test ebx, ebx
jle 0x41c0e9
add esi, 6
mov edi, ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00473660
add esi, 0x10
dec edi
jne 0x41c0d7
mov esi, dword [0x599a2c]
mov dword [ebp + 8], esi
call 0x41c0f7
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.00473c60
mov edx, dword [ebp - 0x1c]
push edi
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edx
call fcn.00473c60
xor edi, edi
test ebx, ebx
jle 0x41c56d
push edi
lea ecx, [ebp - 0x2c]
call fcn.004736a0
inc edi
cmp edi, ebx
jl 0x41c55f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + 0xfc]
push eax
call fcn.00473710
lea ecx, [ebp - 0x8c]
call fcn.004733a0
xor edi, edi
mov byte [ebp - 4], 6
test ebx, ebx
jle 0x41c5dc
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.00473660
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.004d2e80
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
push eax
call fcn.00473710
inc edi
cmp edi, ebx
jl 0x41c5a0
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.00473bc0
mov byte [ebp - 4], 3
mov dword [ebp - 0x8c], 0x54d7d0
lea ecx, [ebp - 0x8c]
call fcn.004735a0
mov eax, dword [ebp - 0x1c]
mov edi, eax
and eax, 0x80000007
mov dword [ebp + 8], edi
jns 0x41c64d
dec eax
or eax, 0xfffffff8
inc eax
je 0x41c666
mov esi, 8
lea ecx, [ebp - 0x2c]
sub esi, eax
push esi
push 0
call fcn.00473c60
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 0x41c683
sub ecx, edx
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00473c60
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, 0x587644
jne 0x41c6a0
mov edi, 0x58763c
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 0x41c6ea
xor esi, esi
jmp 0x41c6ed
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 0x41c712
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 0x41c7ec
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0xffffffff
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x41c762
xor esi, esi
jmp 0x41c765
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0x90]
add esi, edx
lea ecx, [eax - 4]
xor eax, eax
test ecx, ecx
jle 0x41c7a3
mov bl, 0x24
cmp dword [esi], 0x12345678
jne 0x41c796
cmp eax, 3
jle 0x41c796
cmp byte [esi - 3], 0x81
jne 0x41c796
cmp byte [esi - 2], 4
jne 0x41c796
cmp byte [esi - 1], bl
je 0x41c79e
inc esi
inc eax
cmp eax, ecx
jl 0x41c778
jmp 0x41c7a3
add edx, eax
mov dword [ebp + 8], edx
mov edi, dword [ebp + 0x20]
xor eax, eax
test edi, edi
jle 0x41c7ec
mov ecx, dword [ebp + 0x24]
lea edx, [ecx + 0x10]
mov ecx, dword [edx + 4]
mov ebx, dword [ebp + 8]
cmp ebx, ecx
jle 0x41c7c5
mov ebx, ecx
add ebx, dword [edx]
cmp dword [ebp + 8], ebx
jl 0x41c7cf
inc eax
add edx, 0x28
cmp eax, edi
jl 0x41c7b2
jmp 0x41c7ec
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.00473c60
mov esi, 0x54d7d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], esi
call fcn.004735a0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
mov dword [ebp - 0xf4], esi
call fcn.004735a0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0
mov dword [ebp - 0xe0], esi
call fcn.004735a0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa4], esi
call fcn.004735a0
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