Function at 0x412960
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x70
mov eax, dword [0x44acb8]
mov ecx, dword [0x444ce8]
push ebx
push ebp
push esi
push edi
mov di, word [eax + 6]
lea esi, [ecx + 0x5c12]
mov dword [esp + 0x10], edi
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp di, 0xffff
mov dword [esi], eax
jne 0x412a35
mov edx, dword [0x444d10]
xor esi, esi
mov dword [edx], 2
mov eax, dword [0x444d10]
mov dword [eax + 4], 2
mov eax, dword [0x444ce8]
inc word [eax + 0x468e]
mov ecx, dword [0x444ce8]
mov ax, word [ecx + 0x468e]
cmp ax, 1
jne 0x4129d4
push esi
mov ecx, 0x4456f8
jmp 0x4129ee
cmp ax, 2
jne 0x4129e2
push esi
mov ecx, 0x4466c8
jmp 0x4129ee
cmp ax, 3
jne 0x4129f3
push esi
mov ecx, 0x446728
call fcn.004350b0
mov edx, dword [0x444ce8]
pop edi
mov dword [edx + 0x5c1e], esi
mov eax, dword [0x444ce8]
mov dword [eax + 0x5c22], esi
mov ecx, dword [0x444ce8]
mov dword [ecx + 0x5c00], esi
mov edx, dword [0x444ce8]
mov dword [edx + 0x4d02], esi
mov eax, dword [0x444ce8]
mov dword [eax + 0x4d06], esi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [0x444d10]
and eax, 0xffff
mov dword [esp + 0x28], 4
mov dword [ecx], 2
mov edx, dword [0x44acb8]
lea esi, [eax + eax*4]
xor ecx, ecx
shl esi, 4
mov bx, word [edx + 8]
sub esi, eax
mov eax, dword [0x444ce8]
mov dword [esp + 0x18], ebx
shl esi, 3
mov cx, word [eax + 0x468e]
mov dword [esp + 0x2c], esi
add ecx, esi
xor edi, edi
mov byte [ecx + eax + 0x4f3f], bl
mov edx, dword [0x44acb8]
mov eax, dword [0x444ce8]
lea ecx, [edx + 0xa]
lea eax, [esi + eax + 0x4f24]
mov dword [esp + 0x1c], ecx
mov ebp, eax
mov edx, dword [esp + 0x1c]
cmp byte [edx], 0xff
jne 0x412ac0
mov bl, byte [ebp]
mov edx, edi
and edx, 0xffff
inc edi
mov byte [esp + edx + 0x14], bl
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc edx
inc ebp
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x28], edx
jne 0x412aa3
mov ebp, ecx
mov edx, eax
mov dword [esp + 0x28], 4
cmp byte [ebp], 0xff
je 0x412afa
mov bl, byte [edx]
mov ecx, edi
and ecx, 0xffff
inc edi
mov byte [esp + ecx + 0x14], bl
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
inc ebp
inc edx
dec ecx
mov dword [esp + 0x28], ecx
jne 0x412ae1
mov ecx, dword [esp + 0x14]
mov edi, 4
mov byte [eax], cl
mov edx, dword [0x444ce8]
mov cl, byte [esp + 0x16]
mov byte [esi + edx + 0x4f25], ch
mov eax, dword [0x444ce8]
mov byte [esi + eax + 0x4f26], cl
mov edx, dword [0x444ce8]
mov al, byte [esp + 0x17]
mov byte [esi + edx + 0x4f27], al
mov ecx, dword [0x44acb8]
xor eax, eax
lea edx, [ecx + 0xa]
mov ecx, edx
cmp byte [ecx], 0xff
jne 0x412b60
mov ebp, eax
and ebp, 0xffff
inc eax
mov byte [esp + ebp + 0x14], 0xff
inc ecx
dec edi
jne 0x412b4d
mov edi, edx
mov ebp, 4
mov cl, byte [edi]
cmp cl, 0xff
je 0x412b83
mov ebx, eax
and ebx, 0xffff
inc eax
mov byte [esp + ebx + 0x14], cl
mov ebx, dword [esp + 0x18]
inc edi
dec ebp
jne 0x412b6b
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x16]
mov byte [edx], al
mov edx, dword [0x44acb8]
test bx, bx
mov byte [edx + 0xb], ah
mov eax, dword [0x44acb8]
mov edi, 3
mov byte [eax + 0xc], cl
mov edx, dword [0x44acb8]
mov al, byte [esp + 0x17]
mov byte [edx + 0xd], al
jne 0x412bd2
mov ecx, dword [0x444ce8]
push 0
mov word [esi + ecx + 0x4d68], 0xff06
mov ecx, 0x446810
jmp 0x412c4a
cmp bx, 1
jne 0x412bf1
mov edx, dword [0x444ce8]
push 0
mov ecx, 0x44b188
mov word [esi + edx + 0x4d68], 0xff02
jmp 0x412c4a
cmp bx, 2
jne 0x412c0f
mov eax, dword [0x444ce8]
push 0
mov ecx, 0x444f98
mov word [esi + eax + 0x4d68], 0xff03
jmp 0x412c4a
cmp bx, di
jne 0x412c2d
mov ecx, dword [0x444ce8]
push 0
mov word [esi + ecx + 0x4d68], 0xff04
mov ecx, 0x44aac8
jmp 0x412c4a
cmp bx, 4
jne 0x412c4f
mov edx, dword [0x444ce8]
push 0
mov ecx, 0x44a6f8
mov word [esi + edx + 0x4d68], 0xff05
call fcn.004350b0
mov eax, dword [0x444ce8]
cmp word [eax + 0x468e], di
jne 0x412c7a
mov cx, word [esp + 0x10]
cmp cx, word [eax + 0x4d0c]
jne 0x412c7a
mov dword [eax + 0x5c2a], 0
mov eax, dword [0x444ce8]
test bx, bx
jne 0x412c93
lea edx, [esi + eax + 0x4efc]
lea eax, [esp + 0x40]
push edx
push 0x43f96c
push eax
jmp 0x412cf3
cmp bx, 1
jne 0x412ca8
lea ecx, [esi + eax + 0x4efc]
push ecx
push 0x43f960
jmp 0x412cee
cmp bx, 2
jne 0x412cc2
lea eax, [esi + eax + 0x4efc]
lea ecx, [esp + 0x40]
push eax
push 0x43f954
push ecx
jmp 0x412cf3
cmp bx, di
jne 0x412cdb
lea edx, [esi + eax + 0x4efc]
lea eax, [esp + 0x40]
push edx
push 0x43f948
push eax
jmp 0x412cf3
cmp bx, 4
jne 0x412d00
lea ecx, [esi + eax + 0x4efc]
push ecx
push 0x43f93c
lea edx, [esp + 0x48]
push edx
call fcn.00436e62
mov eax, dword [0x444ce8]
add esp, 0xc
push 0
push 0xff
push 0xff
lea ecx, [esp + 0x4c]
push 0xff
push ecx
lea ecx, [eax + 0x46a6]
call fcn.0042ff30
test bx, bx
je 0x413262
mov ecx, dword [0x444ce8]
cmp word [ecx + 0x468e], di
jne 0x412dd6
mov dx, word [esp + 0x10]
cmp dx, word [ecx + 0x4d0c]
jne 0x412dd6
xor eax, eax
mov esi, 4
xor edx, edx
jmp 0x412d60
mov ecx, dword [0x444ce8]
mov dword [eax + ecx + 0x4cd2], edx
add eax, 4
dec esi
jne 0x412d5a
xor eax, eax
mov ecx, 4
mov esi, 1
mov edi, dword [0x44acb8]
cmp byte [eax + edi + 0xa], 0xff
mov edi, dword [0x444ce8]
jne 0x412d95
mov dword [edi + eax*4 + 0x4ca2], edx
jmp 0x412dcc
mov dword [edi + 0x4ca2], edx
mov edi, dword [0x444ce8]
mov dword [edi + 0x4ca6], edx
mov edi, dword [0x444ce8]
mov dword [edi + 0x4caa], edx
mov edi, dword [0x444ce8]
mov dword [edi + 0x4cae], edx
mov edi, dword [0x444ce8]
mov dword [edi + eax*4 + 0x4ca2], esi
inc eax
dec ecx
jne 0x412d79
mov ecx, dword [0x444ce8]
mov dword [ecx + 0x4ce2], 1
mov eax, dword [0x444ce8]
mov cx, word [esp + 0x10]
cmp cx, word [eax + 0x4d0c]
jne 0x412e22
xor ecx, ecx
mov word [eax + 0x4690], cx
mov edx, dword [0x444ce8]
mov word [edx + 0x4692], cx
mov eax, dword [0x444ce8]
mov word [eax + 0x4694], cx
mov edx, dword [0x444ce8]
mov word [edx + 0x4696], cx
xor eax, eax
cmp bx, ax
mov dword [esp + 0x14], eax
jbe 0x413262
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov ecx, dword [0x444cf4]
xor ebp, ebp
xor esi, esi
lea eax, [ecx + 0xd04]
cmp word [eax], 0xffff
je 0x412e5d
inc esi
add eax, 2
cmp esi, 0x14
jl 0x412e4d
cmp esi, 0x14
je 0x413262
mov byte [ecx + esi + 0x35cc], 0xff
mov eax, dword [0x444ce8]
mov cx, word [esp + 0x10]
cmp cx, word [eax + 0x4d0c]
jne 0x412f71
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
mov eax, dword [0x44acb8]
cmp byte [eax + ebp + 0xa], 0xff
je 0x412f52
mov cx, word [esp + 0x1c]
cmp word [esp + 0x14], cx
jne 0x412f4e
mov edi, dword [esp + 0x10]
push edi
call fcn.00408820
and eax, 0xffff
push edi
add eax, 3
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x444cec]
add edx, ebp
shl edx, 4
mov ebx, dword [edx + eax]
call fcn.00408820
and eax, 0xffff
mov edx, dword [0x444cec]
add esp, 8
mov dword [esp + 0x30], ebx
lea ecx, [eax*8]
sub ecx, eax
add ecx, ebp
shl ecx, 4
mov edi, dword [ecx + edx + 0x154]
mov ecx, dword [0x44acb8]
sub edi, 0xa
mov dl, byte [ecx + ebp + 0xa]
lea eax, [edi + 0xa]
mov dword [esp + 0x34], eax
mov eax, dword [0x444cf4]
mov byte [eax + esi + 0x35cc], dl
mov ecx, dword [0x444ce8]
mov edx, dword [esp + 0x24]
mov byte [edx + ecx + 0x4f24], 0xff
mov eax, dword [0x444cf4]
mov cx, word [esp + 0x20]
mov word [eax + esi*2 + 0x35e0], cx
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
inc eax
inc ebp
inc edx
cmp ax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jb 0x412e95
jmp 0x412fd4
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push ebp
and edi, 0xffff
call fcn.00408820
and eax, 0xffff
push ebp
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x444cec]
sub edx, edi
add edx, 0x18
shl edx, 4
mov ebx, dword [edx + eax]
call fcn.00408820
and eax, 0xffff
mov edx, dword [0x444cec]
add esp, 8
mov dword [esp + 0x30], ebx
lea ecx, [eax*8]
sub ecx, eax
sub ecx, edi
shl ecx, 4
mov edi, dword [ecx + edx + 0x184]
mov dword [esp + 0x34], edi
mov eax, dword [0x444cec]
mov ecx, dword [0x444cf4]
mov dx, word [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov eax, dword [eax + 0x768]
mov word [ecx + esi*2 + 0x3608], dx
and ebp, 0xffff
mov edx, esi
shl edx, 9
lea ecx, [ebp + ebp*2]
push 9
lea ecx, [edx + ecx*8]
mov edx, dword [0x444cf4]
mov dword [esp + 0x28], ecx
lea ecx, [ecx + edx + 0xda4]
push ecx
mov ecx, 0xfffffe70
push ecx
push eax
push edi
push ebx
call fcn.0042c510
mov edx, dword [0x444cf4]
mov ecx, dword [esp + 0x40]
lea ebp, [ebp + ebp*2]
add esp, 0x18
mov word [edx + esi*2 + 0xd2c], ax
mov edx, dword [0x444cf4]
lea eax, [ecx + 3]
mov word [edx + esi*2 + 0xd54], ax
mov eax, dword [0x444cf4]
mov dx, word [eax + esi*2 + 0xd54]
add dx, word [eax + esi*2 + 0xd2c]
mov word [eax + esi*2 + 0xd7c], dx
mov eax, dword [0x444cf4]
add word [eax + esi*2 + 0xd2c], cx
xor ecx, ecx
test ebp, ebp
jle 0x4130cf
mov edi, dword [esp + 0x24]
mov edx, esi
shl edx, 6
mov dword [esp + 0x20], edx
xor eax, eax
jmp 0x413099
mov edx, dword [esp + 0x20]
add eax, edx
mov edx, dword [0x444cf4]
inc ecx
mov ebx, dword [edi + edx + 0xda4]
mov dword [edx + eax*8 + 0xda4], ebx
mov edx, dword [0x444cf4]
mov ebx, dword [edi + edx + 0xda8]
mov dword [edx + eax*8 + 0xda8], ebx
mov eax, ecx
and eax, 0xffff
cmp eax, ebp
jl 0x413095
mov eax, dword [0x444cf4]
mov ebp, esi
shl ebp, 6
mov cx, word [eax + esi*2 + 0xd2c]
push 2
mov word [eax + esi*2 + 0x3630], cx
mov eax, dword [0x444cec]
mov edx, dword [eax + 0x768]
mov ebx, dword [eax + 0x76c]
mov ecx, dword [eax + 0x770]
mov eax, dword [eax + 0x774]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x444cf4]
mov dword [esp + 0x40], eax
xor eax, eax
mov ax, word [ecx + esi*2 + 0xd2c]
lea edi, [ecx + esi*2 + 0xd2c]
add eax, ebp
lea ecx, [ecx + eax*8 + 0xda4]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
push edx
call fcn.0042c510
add word [edi], ax
mov eax, dword [0x444cec]
mov ecx, dword [esp + 0x48]
push 9
mov ebx, dword [eax + 0x770]
mov edi, dword [eax + 0x774]
mov eax, dword [esp + 0x50]
add ecx, 0x3a
add eax, 0x50
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [0x444cf4]
lea edx, [eax + esi*2 + 0xd2c]
mov dword [esp + 0x40], edx
xor edx, edx
mov dx, word [eax + esi*2 + 0xd2c]
add edx, ebp
lea eax, [eax + edx*8 + 0xda4]
mov edx, dword [esp + 0x50]
push eax
push edx
push ecx
push edi
push ebx
call fcn.0042c510
mov ecx, dword [esp + 0x54]
add esp, 0x30
add word [ecx], ax
mov eax, dword [0x444cf4]
mov cx, word [esp + 0x10]
dec word [eax + esi*2 + 0xd2c]
mov eax, dword [0x444cf4]
mov word [eax + esi*2 + 0xd04], 0
mov eax, dword [0x444ce8]
cmp cx, word [eax + 0x4d0c]
je 0x4131e4
mov ecx, dword [esp + 0x2c]
dec word [ecx + eax + 0x4f22]
mov edx, dword [0x444cf4]
mov ebp, dword [esp + 0x10]
push ebp
mov word [edx + esi*2 + 0x35a4], 0
call fcn.00408820
add esp, 4
test ax, ax
jne 0x413225
mov ecx, dword [0x444cf4]
mov eax, 1
cmp word [ecx + esi*2 + 0x35e0], ax
ja 0x413243
mov word [ecx + esi*2 + 0x35a4], ax
jmp 0x413243
push ebp
call fcn.00408820
add esp, 4
cmp ax, 2
ja 0x413243
mov eax, dword [0x444cf4]
mov word [eax + esi*2 + 0x35a4], 1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
inc eax
add edx, 3
cmp ax, word [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
jb 0x412e3d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret