Function at 0x41b830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a8fa
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.00473110
push 1
push 0x5875fc
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0045cda0
mov edi, dword [esi + 0xd8]
xor eax, eax
cmp edi, 2
lea ecx, [ebp - 0xe0]
sete al
mov dword [ebp - 0x40], eax
call fcn.00473110
mov ecx, dword [ebp + 0x1c]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00473130
mov ebx, eax
test ebx, ebx
jne 0x41b8f1
mov esi, 0x54d7d0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], al
mov dword [ebp - 0xe0], esi
call fcn.00473310
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa4], esi
call fcn.00473310
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 0x41b968
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 0x41b942
lea edx, [esi + edi]
lea ecx, [edi + ebx]
push eax
add edx, ebx
push ecx
push edx
call fcn.00502990
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 0x41b91c
mov eax, dword [ebp - 0x40]
mov word [ebx], 0x5a4d
test eax, eax
jne 0x41b986
jmp 0x41b977
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xa4]
push eax
call fcn.0041b6b0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
and eax, 0x80000007
jns 0x41b998
dec eax
or eax, 0xfffffff8
inc eax
je 0x41b9a9
mov edx, 8
sub edx, eax
push edx
push 0
call fcn.004739d0
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
push eax
push ebx
mov ecx, esi
call fcn.004739d0
mov ecx, dword [ebx + 0x3c]
push 0x4550
add ebx, ecx
mov ecx, esi
call fcn.004733d0
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.004739d0
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.00455380
test eax, eax
je 0x41ba46
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xd8], 1
jne 0x41ba4c
mov word [edi + 0x44], 3
mov eax, dword [esi + 0x10]
push 0xe0
push edi
mov ecx, esi
mov dword [ebp - 0xf8], eax
call fcn.004739d0
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.004739d0
push 0x50
push 0
mov ecx, esi
call fcn.004739d0
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0x24]
xor edx, edx
mov dword [ebp + 0x18], eax
div ecx
test edx, edx
je 0x41bab3
sub ecx, edx
mov dword [ebp + 0x1c], ecx
push ecx
push 0
mov ecx, esi
call fcn.004739d0
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 0x41baf4
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.004739d0
mov eax, dword [ebp + 0x1c]
add ebx, 0x28
dec eax
mov dword [ebp + 0x1c], eax
jne 0x41bac6
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 0x41bb0b
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 0x41bb4d
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 0x41bb3c
mov dword [ebp + 0x1c], edx
add ebx, ecx
mov ecx, dword [ebp - 0x18]
add eax, 0x28
dec ecx
mov dword [ebp - 0x18], ecx
jne 0x41bb2a
mov dword [ebp + 0x14], ebx
mov edi, dword [edi + 0x20]
mov eax, dword [ebp + 0x1c]
xor edx, edx
div edi
test edx, edx
je 0x41bb65
mov eax, dword [ebp + 0x1c]
sub edi, edx
add eax, edi
mov dword [ebp + 0x1c], eax
lea ecx, [ebp - 0xf4]
call fcn.00473110
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 2
test eax, eax
je 0x41bc6a
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 0x41bb9a
xor esi, esi
jmp 0x41bb9d
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 0x41bbc9
cmp dword [edx + eax], 0x86543210
je 0x41bbc2
inc eax
cmp eax, ecx
jl 0x41bbb2
jmp 0x41bbc9
lea edx, [edi + eax + 4]
mov dword [ebp - 0x18], edx
mov esi, dword [ebp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x41bc09
mov eax, dword [ebp + 0x24]
lea edx, [eax + 0x10]
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0x18]
cmp edi, eax
jle 0x41bbeb
mov edi, dword [edx]
add edi, eax
cmp dword [ebp - 0x18], edi
jl 0x41bbf5
inc ecx
add edx, 0x28
cmp ecx, esi
jl 0x41bbd8
jmp 0x41bc09
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 0x41bc6d
push esi
lea ecx, [ebp - 0xf4]
call fcn.004733d0
mov ecx, dword [ebp + 8]
push 0xb8
call fcn.00473450
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.004733d0
mov ecx, dword [ebp + 8]
push 0xe9
call fcn.00473450
mov ecx, dword [ebp + 0x24]
add esi, 0xa
sub ecx, esi
push ecx
mov ecx, dword [ebp + 8]
call fcn.004733d0
inc edi
cmp edi, ebx
jl 0x41bc1a
jmp 0x41bc6d
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 0x41bc8e
sub ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push 0
call fcn.004739d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [ebp - 0x18], ecx
jne 0x41bc9f
xor eax, eax
jmp 0x41bca2
mov eax, dword [eax + 8]
mov esi, dword [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004739d0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x41bcb9
xor eax, eax
jmp 0x41bcbc
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 0x41bd2c
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.00473110
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 3
test eax, eax
jne 0x41c15b
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x9c]
neg esi
sbb esi, esi
and esi, ecx
lea ecx, [ebp - 0x8c]
call fcn.00473110
mov dword [ebp - 0x8c], 0x54d910
xor ebx, ebx
mov byte [ebp - 4], 4
mov bx, word [esi + 4]
test ebx, ebx
jle 0x41bd99
add esi, 6
mov edi, ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.004733d0
add esi, 0x10
dec edi
jne 0x41bd87
mov esi, dword [0x599944]
mov dword [ebp + 8], esi
call 0x41bda7
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.004739d0
mov edx, dword [ebp - 0x1c]
push edi
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edx
call fcn.004739d0
xor edi, edi
test ebx, ebx
jle 0x41c21d
push edi
lea ecx, [ebp - 0x2c]
call fcn.00473410
inc edi
cmp edi, ebx
jl 0x41c20f
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax + 0xfc]
push eax
call fcn.00473480
lea ecx, [ebp - 0x8c]
call fcn.00473110
xor edi, edi
mov byte [ebp - 4], 6
test ebx, ebx
jle 0x41c28c
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.004733d0
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.004d2a60
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
push eax
call fcn.00473480
inc edi
cmp edi, ebx
jl 0x41c250
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.00473930
mov byte [ebp - 4], 3
mov dword [ebp - 0x8c], 0x54d7d0
lea ecx, [ebp - 0x8c]
call fcn.00473310
mov eax, dword [ebp - 0x1c]
mov edi, eax
and eax, 0x80000007
mov dword [ebp + 8], edi
jns 0x41c2fd
dec eax
or eax, 0xfffffff8
inc eax
je 0x41c316
mov esi, 8
lea ecx, [ebp - 0x2c]
sub esi, eax
push esi
push 0
call fcn.004739d0
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 0x41c333
sub ecx, edx
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.004739d0
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 0x41c350
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 0x41c39a
xor esi, esi
jmp 0x41c39d
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 0x41c3c2
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 0x41c49c
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0xffffffff
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x41c412
xor esi, esi
jmp 0x41c415
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0x90]
add esi, edx
lea ecx, [eax - 4]
xor eax, eax
test ecx, ecx
jle 0x41c453
mov bl, 0x24
cmp dword [esi], 0x12345678
jne 0x41c446
cmp eax, 3
jle 0x41c446
cmp byte [esi - 3], 0x81
jne 0x41c446
cmp byte [esi - 2], 4
jne 0x41c446
cmp byte [esi - 1], bl
je 0x41c44e
inc esi
inc eax
cmp eax, ecx
jl 0x41c428
jmp 0x41c453
add edx, eax
mov dword [ebp + 8], edx
mov edi, dword [ebp + 0x20]
xor eax, eax
test edi, edi
jle 0x41c49c
mov ecx, dword [ebp + 0x24]
lea edx, [ecx + 0x10]
mov ecx, dword [edx + 4]
mov ebx, dword [ebp + 8]
cmp ebx, ecx
jle 0x41c475
mov ebx, ecx
add ebx, dword [edx]
cmp dword [ebp + 8], ebx
jl 0x41c47f
inc eax
add edx, 0x28
cmp eax, edi
jl 0x41c462
jmp 0x41c49c
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.004739d0
mov esi, 0x54d7d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], esi
call fcn.00473310
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
mov dword [ebp - 0xf4], esi
call fcn.00473310
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0
mov dword [ebp - 0xe0], esi
call fcn.00473310
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa4], esi
call fcn.00473310
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