Function at 0x415e90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1017c
call fcn.0065d6a0
push ebx
push esi
push edi
xor eax, eax
mov byte [esp + 0x188], 0
mov ecx, 0x3fff
lea edi, [esp + 0x189]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x188]
push eax
call fcn.004118b0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 6]
mov edx, dword [eax + 0xa]
mov dword [esp + 0x192], ecx
mov ecx, dword [eax + 0xe]
mov dword [esp + 0x196], edx
mov edx, dword [eax + 0x12]
mov dword [esp + 0x19a], ecx
mov ecx, dword [eax + 0x16]
mov dword [esp + 0x19e], edx
mov edx, dword [eax + 0x1a]
mov dword [esp + 0x1a2], ecx
mov cl, byte [eax + 0x1e]
lea esi, [eax + 0x1f]
push esi
mov dword [esp + 0x1aa], edx
mov byte [esp + 0x1ae], cl
call fcn.0065c790
mov edi, eax
inc edi
push edi
lea edx, [esp + 0x1b3]
push esi
push edx
call fcn.0065cfb0
add esi, edi
push esi
call fcn.0065c790
mov edi, eax
inc edi
push edi
lea eax, [esp + 0x1e3]
push esi
push eax
call fcn.0065cfb0
mov al, byte [esp + 0x1ca]
add esp, 0x24
test al, al
jbe 0x416071
movzx ecx, al
imul ecx, ecx, 0x2b
push ecx
add esi, edi
lea edx, [esp + 0x2cb]
push esi
push edx
call fcn.0065c820
mov al, byte [esp + 0x1b2]
add esp, 0xc
test al, al
jbe 0x416071
xor esi, esi
test al, al
mov dword [esp + 0x10], esi
jbe 0x416073
lea ebx, [esp + 0x2cb]
lea esp, [esp]
cmp dword [esp + 0x18e], 0xb
jne 0x415fba
mov eax, dword [0x77da48]
mov eax, dword [eax + 0x458]
add eax, 4
jmp 0x415fc1
lea eax, [esp + 0x1a7]
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.0065c60e
mov edx, dword [ebx - 4]
add esp, 8
mov dword [esp + 0x134], edx
call sub.WINMM.dll_timeGetTime
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [esp + 0x158], edx
push ebx
lea edx, [esp + 0x10]
push edx
mov ecx, 0x77c668
call fcn.00412b40
mov eax, dword [esp + 0xc]
cmp eax, dword [0x77c66c]
je 0x416020
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x77c668
call fcn.00414f50
mov ecx, dword [ebx]
mov dword [esp + 0x15c], ecx
lea edx, [esp + 0x15c]
mov ecx, 0xa
lea esi, [esp + 0x134]
lea edi, [esp + 0x160]
push edx
lea eax, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x77c668
call fcn.00415a10
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x1a6]
inc eax
add ebx, 0x2b
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x415fa0
xor esi, esi
mov eax, dword [esp + 0x18e]
mov edi, eax
dec eax
cmp eax, 0x20
ja case.0x41608d.2
movzx edx, byte [eax + 0x416adc]
jmp dword [edx*4 + 0x416ab8]
mov ecx, dword [0x77e200]
lea eax, [esp + 0x188]
push eax
call fcn.0050ef80
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x192]
dec eax
cmp eax, 0x3c
ja case.0x4160c8.28
movzx ecx, byte [eax + 0x416b94]
jmp dword [ecx*4 + 0x416b00]
push 0xffff0006
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff00ff46
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.004659a0
cmp edi, 0x1d
jne case.0x4160c8.28
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], esi
call fcn.0040f560
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffe6fa0a
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffa00
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff8718c6
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.004659a0
push 0xffff0000
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.00465a30
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffaa50
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffff0000
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff8718c6
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
push 0xffff0000
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.00465a30
push str.datainterfaces2.gl
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], 0
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
call fcn.0040f180
mov ecx, dword [0x77ff08]
mov dword [esp + 0x124], 0x6a
mov dword [esp + 0x128], 0x6e
mov edx, dword [ecx + 0x18]
mov eax, 0x2aaaaaab
imul edx
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax - 0x9b]
mov eax, dword [ecx + 0x14]
mov ecx, dword [0x77e1ac]
push esi
push edx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x197
push eax
push 0x64
lea eax, [esp + 0x30]
push eax
call fcn.0049a6f0
mov eax, dword [0x6ff56c]
mov ecx, dword [str.sound2ui1000311.wav]
mov edx, dword [0x6ff568]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x6ff570]
mov dword [esp + 0x28], eax
mov ax, word [0x6ff578]
mov dword [esp + 0x24], edx
mov edx, dword [0x6ff574]
mov dword [esp + 0x2c], ecx
mov word [esp + 0x34], ax
mov dword [esp + 0x30], edx
xor eax, eax
mov ecx, 0x3b
lea edi, [esp + 0x36]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push ecx
stosw word es:[edi], ax
call fcn.0065c790
add esp, 4
test eax, eax
jbe 0x4162f8
lea edx, [esp + 0x20]
push edx
call fcn.005c1e90
mov ecx, eax
call fcn.005c0720
test al, al
jne case.0x4160c8.28
lea eax, [esp + 0x20]
push 2
push eax
call fcn.0040f540
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff8718c6
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.004659a0
push 0xffff0000
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.00465a30
mov eax, dword [0x75c674]
push 1
push eax
push esi
push esi
lea ecx, [esp + 0x1d7]
push ecx
mov ecx, 0x77e198
call fcn.0046ce90
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffff9426
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfff5000d
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffa00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
cmp edi, 0x1d
jne case.0x4160c8.28
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 1
call fcn.0040f560
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffe6fa0a
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.00465a30
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff00ff00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff8718c6
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.00465a30
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffff6419
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.00465a30
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffff0000
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff2470ff
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.00465a30
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff00ff46
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.004659a0
mov ecx, 0x77e198
call fcn.0046a440
push 0xff00ff46
lea ecx, [esp + 0x1cb]
push ecx
push 1
mov ecx, eax
call fcn.00401390
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov ecx, 0x77e198
call fcn.0046a440
push 0xffffff00
lea ecx, [esp + 0x1cb]
push ecx
push 2
mov ecx, eax
call fcn.00401390
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff00ff46
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov ecx, 0x77e198
call fcn.0046a440
push 0xffffff00
lea ecx, [esp + 0x1cb]
push ecx
push 3
mov ecx, eax
call fcn.00401390
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xff00ff46
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov ecx, 0x77e198
call fcn.0046a440
push 0xffffff00
lea ecx, [esp + 0x1cb]
push ecx
push 4
mov ecx, eax
call fcn.00401390
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x75c674]
push 1
push edx
push esi
push esi
lea eax, [esp + 0x1d7]
push eax
mov ecx, 0x77e198
call fcn.0046ce90
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffa00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465ac0
lea edx, [esp + 0x188]
push edx
call fcn.004781d0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.00465b50
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465be0
push 0xff00ff00
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.00465c70
push 0xffb800ed
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.00465d00
push 0xffff8000
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.004659a0
mov ecx, dword [0x77da48]
call fcn.00426fe0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465d90
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.00465e20
mov ecx, dword [0x77da48]
call fcn.00426fe0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.00465eb0
mov ecx, dword [0x77da48]
call fcn.00426fe0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465f40
push 0xfff75d65
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.004659a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffa00
lea eax, [esp + 0x1cb]
push eax
mov ecx, 0x77e198
call fcn.00465ac0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffa00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
push 0x6fec50
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], 0
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
call fcn.0040f180
mov dword [esp + 0x128], 0x64
mov ecx, dword [0x77ff08]
mov dword [esp + 0x124], 0x36
mov edx, dword [ecx + 0x18]
mov eax, 0x2aaaaaab
imul edx
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 0x32]
mov eax, dword [ecx + 0x14]
mov ecx, dword [0x77e1ac]
push esi
push edx
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa0
push eax
push 0x64
lea eax, [esp + 0x30]
push eax
call fcn.0049a6f0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfffffa00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
push 0x6fec50
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], 0
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
call fcn.0040f180
mov dword [esp + 0x128], 0x65
jmp 0x4167d7
push 0xfffffa00
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
call fcn.0040f610
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x188]
push edx
call fcn.0040a840
mov ecx, eax
call fcn.0040c410
test al, al
jne case.0x4160c8.28
lea eax, [esp + 0x188]
push eax
call fcn.004781d0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x188]
push ecx
call fcn.0055f4e0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x188]
push edx
call fcn.004851e0
mov ecx, eax
call fcn.00484f90
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c7]
push ecx
stosw word es:[edi], ax
lea edx, [esp + 0x1ab]
push edx
push 0x6ff54c
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0065cf4d
add esp, 0x14
push 0xffff0000
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x77e198
mov byte [esp + 0x12b], 0
call fcn.00465a30
mov ecx, dword [0x77da48]
call fcn.00426fe0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x192]
dec eax
je 0x416a97
sub eax, 0x20
je 0x416a24
dec eax
jne case.0x4160c8.28
push 0xffff0006
lea edx, [esp + 0x1cb]
push edx
mov ecx, 0x77e198
call fcn.00465a30
mov eax, dword [0x77da48]
mov ecx, dword [eax + 0x458]
mov edx, dword [ecx]
call dword [edx + 0x68]
push eax
lea eax, [esp + 0x24]
push 0x6ff540
push eax
call fcn.0065c60e
mov edx, dword [0x77da48]
lea ecx, [esp + 0x2c]
push ecx
add edx, 0x350
push edx
call fcn.0065dac0
add esp, 0x14
test eax, eax
jne case.0x4160c8.28
mov eax, dword [0x77da48]
mov eax, dword [eax + 0x458]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ecx]
push esi
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x1c]
mov edx, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [0x77da48]
push 0x27a
call fcn.0042f900
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffff0006
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
mov ecx, dword [0x77da48]
push 0x6ff538
call fcn.00412d30
cmp eax, esi
je case.0x4160c8.28
mov edx, dword [0x77da48]
mov eax, dword [edx + 0x458]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ecx]
push esi
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x1c]
mov edx, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [0x77da48]
push 0x27a
call fcn.0042f900
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffff0006
lea ecx, [esp + 0x1cb]
push ecx
mov ecx, 0x77e198
call fcn.00465a30
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret