Function at 0x435f40
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x508
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0xadeef3]
add ecx, eax
mov dword [ebp + 0xadeef3], ecx
mov eax, ecx
jns 0x435f78
mov dword [ebp + 0xadeef3], 0
mov eax, 1
pop ebp
add esp, 0x508
ret 4
mov ecx, dword [ebp + 0xadeead]
cmp eax, ecx
jl 0x435f95
dec ecx
xor eax, eax
mov dword [ebp + 0xadeef3], ecx
pop ebp
add esp, 0x508
ret 4
mov edx, dword [ebp + 0xa4f213]
push ebx
mov ebx, dword [ebp + 0xa4f20b]
xor ecx, ecx
mov cl, byte [eax + ebp + 0xadee89]
mov dword [esp + 0x14], edx
lea eax, [ebx + 0xf]
lea edx, [ebx + ebx*4]
mov dword [esp + 0x30], eax
push esi
lea eax, [ebx + edx*2]
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 0
lea edx, [ebp + eax*4 + 0x25ba8]
mov eax, ecx
shl eax, 5
sub eax, ecx
mov dword [esp + 0x18], edx
shl eax, 3
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebp + eax*2]
mov dword [esp + 0x3c], eax
add eax, 0xacba29
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
xor eax, eax
lea edx, [esp + 0x58]
lea edi, [ecx - 0xa0]
or ecx, 0xffffffff
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x58]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x436061
mov ecx, dword [esp + 0x14]
push eax
add ecx, ebx
push 1
lea edx, [esp + 0x60]
push ecx
push edx
mov ecx, ebp
call fcn.004197a0
mov eax, dword [esp + 0x10]
mov ax, word [eax]
test ax, ax
je 0x43606a
movsx ecx, ax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040d070
jmp 0x43606a
mov ecx, dword [esp + 0x18]
call fcn.0040c8c0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc eax
add esi, 0x2c
add edx, 0xa2
cmp eax, 5
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
jl 0x435ff5
mov edx, eax
mov dword [esp + 0x18], 0xa
add ebx, edx
lea eax, [ebx + ebx*4]
lea ecx, [ebx + eax*2]
mov eax, dword [esp + 0x3c]
add eax, 0xacbd53
lea edx, [ebp + ecx*4 + 0x25ba8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x14]
xor eax, eax
lea edx, [esp + 0x58]
lea edi, [ecx - 0xa0]
or ecx, 0xffffffff
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x58]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x436140
cmp dword [ebp + 0x5a6f1c], 1
jne 0x436114
push 2
lea ecx, [esp + 0x5c]
push ebx
push ecx
mov ecx, ebp
call fcn.00419a10
jmp 0x436125
push 0
push 2
lea edx, [esp + 0x60]
push ebx
push edx
mov ecx, ebp
call fcn.004197a0
mov eax, dword [esp + 0x14]
mov ax, word [eax]
test ax, ax
je 0x436149
movsx ecx, ax
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0040d070
jmp 0x436149
mov ecx, dword [esp + 0x10]
call fcn.0040c8c0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add esi, 0xa2
add edx, 0x2c
inc ebx
dec eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jne 0x4360bf
mov edi, dword [esp + 0x1c]
push 0
mov edx, edi
imul edx, edx, 0x9c
lea esi, [edx + ebp + 0x51ba8]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.0040cff0
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [ebp + 0x7a0df5]
push eax
push ecx
mov ecx, esi
call fcn.0040e4d0
push 0xff
push 0xe8
push 0x98
mov ecx, esi
call fcn.0040e3d0
mov eax, dword [esp + 0x20]
movsx ecx, word [ebp + 0x7a0ea1]
lea edx, [eax + eax*2]
mov dword [esp + 0x28], ecx
shl edx, 7
add edx, eax
lea ebx, [ebp + edx*4]
mov dword [esp + 0x20], ebx
lea edx, [ebx + 0xabf90d]
push edx
xor edx, edx
mov dx, word [ebp + eax*2 + 0xadee49]
movsx eax, word [ebp + 0x7a0e89]
push edx
add eax, ecx
movsx edx, word [ebp + 0x7a0e85]
push eax
add ecx, edx
movsx eax, word [ebp + 0x7a0e8d]
movsx edx, word [ebp + 0x7a0e8b]
add eax, ecx
movsx ecx, word [ebp + 0x7a0e83]
add ecx, edx
push eax
push ecx
push edi
mov ecx, ebp
call fcn.004227f0
xor ecx, ecx
lea eax, [ebx + 0xabfcf5]
mov cx, word [ebp + 0x7a0df5]
xor edx, edx
mov dx, word [ebp + 0x7a0e99]
push eax
movsx eax, word [ebp + 0x7a0e97]
push ecx
push edx
movsx ecx, word [ebp + 0x7a0e93]
movsx edx, word [ebp + 0x7a0e85]
add eax, ecx
movsx ecx, word [ebp + 0x7a0e91]
add eax, edx
movsx edx, word [ebp + 0x7a0e83]
push eax
movsx eax, word [ebp + 0x7a0e95]
add eax, ecx
mov ecx, ebp
add eax, edx
push eax
xor eax, eax
mov al, byte [ebp + 0x7a0e7e]
push eax
push edi
call fcn.00422780
cmp word [ebx + 0xabff0b], 0
jle 0x4363f7
xor esi, esi
mov si, word [ebp + 0x7a0df5]
mov edi, esi
imul edi, esi
shl edi, 2
push edi
mov dword [esp + 0x38], edi
call fcn.004b099c
mov dword [esp + 0x1c], eax
xor eax, eax
mov ax, word [ebp + 0x7a0df5]
add esp, 4
sub eax, 0x14
mov dword [esp + 0x10], 0
shl eax, 5
cmp word [ebx + 0xabff0b], 0
mov dword [esp + 0x2c], eax
jle 0x4363e6
mov eax, esi
sar eax, 1
mov dword [esp + 0x30], eax
add ebx, 0xabfe43
jmp 0x4362f1
mov edi, dword [esp + 0x34]
mov ecx, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
mov edx, dword [esp + 0x1c]
rep stosb byte es:[edi], al
movsx eax, word [ebx]
mov ecx, dword [esp + 0x30]
push esi
shl eax, 5
push eax
push ecx
movsx eax, word [ebp + 0x7a0f23]
push edx
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
lea ecx, [ebp + edx*4 + 0x25ba8]
call fcn.0040d670
mov ecx, dword [ebx + 6]
mov eax, ecx
and ecx, 1
imul ecx, dword [esp + 0x30]
sar eax, 1
imul eax, esi
movsx edx, word [ebp + 0x7a0e8b]
add eax, ecx
movsx ecx, word [ebp + 0x7a0e83]
add eax, ecx
mov ecx, dword [esp + 0x28]
add eax, edx
movsx edx, word [ebp + 0x7a0e89]
add edx, ecx
imul edx, dword [ebx + 2]
movsx edi, word [ebp + 0x7a0e8d]
mov dword [esp + 0x24], edx
movsx edx, word [ebp + 0x7a0e85]
add edx, ecx
mov ecx, dword [esp + 0x24]
add edx, ecx
xor ecx, ecx
add edi, edx
movsx edx, word [ebx]
mov cl, byte [edx + ebp + 0x7a0f25]
sub ecx, 0
je 0x4363ae
dec ecx
jne 0x4363c5
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push edi
push eax
call fcn.0040ddf0
jmp 0x4363c5
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0x98e8ff
push edx
push esi
push esi
push edi
push eax
call fcn.0040de90
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0xa
movsx edx, word [ecx + 0xabff0b]
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4362ed
mov ebx, ecx
mov eax, dword [esp + 0x18]
push eax
call fcn.004b0991
mov edi, dword [esp + 0x20]
add esp, 4
xor ecx, ecx
mov cl, byte [ebp + 0x7a0e81]
push ecx
push edi
mov ecx, ebp
call fcn.00422850
mov edx, dword [ebp + 0xadeecf]
add ebx, 0xabfd1d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x5a6f04], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x58]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x20], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x58]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x436618
push eax
push eax
push ebx
mov ecx, ebp
call fcn.00452ac0
test eax, eax
je 0x436618
lea ecx, [esp + 0x118]
push 0x400
push ecx
push str.TWB_VOICE
push str.MESSAGEWINDOW
lea ecx, [ebp + 0x2a9e62]
call fcn.00407ce0
test eax, eax
je 0x436618
lea edx, [esp + 0x24]
lea eax, [esp + 0x118]
push edx
push 0x2c
push 0
push eax
call fcn.00402990
lea ecx, [esp + 0x38]
lea edx, [esp + 0x128]
push ecx
push 0x2c
push 1
push edx
call fcn.00402990
mov eax, dword [esp + 0x44]
add esp, 0x20
test eax, eax
je 0x436618
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x436618
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push 0x2c
push 2
push ecx
call fcn.00402990
lea edx, [esp + 0x24]
lea eax, [esp + 0x128]
push edx
push 0x2c
push 3
push eax
call fcn.00402990
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x138]
push ecx
push 0x2c
push 4
push edx
call fcn.00402990
lea eax, [esp + 0x64]
lea ecx, [esp + 0x148]
push eax
push 0x2c
push 5
push ecx
call fcn.00402990
add esp, 0x40
lea edx, [esp + 0x2c]
lea eax, [esp + 0x118]
push edx
push 0x2c
push 6
push eax
call fcn.00402990
lea ecx, [esp + 0x40]
lea edx, [esp + 0x128]
push ecx
push 0x2c
push 7
push edx
call fcn.00402990
lea ebx, [ebp + 0x79dcd5]
mov ecx, 0x20
mov esi, ebx
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0xb8]
add esp, 0x20
call fcn.004b0e40
mov ecx, dword [esp + 0x10]
mov esi, ebx
add ecx, eax
lea edi, [esp + 0x98]
mov dword [esp + 0x10], ecx
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x9c]
call fcn.004b0e40
mov ebx, dword [esp + 0x14]
mov ecx, ebp
add ebx, eax
mov dword [esp + 0x14], ebx
call fcn.004206a0
mov eax, dword [esp + 0x30]
push 0
mov ecx, dword [esp + 0x30]
push 0
mov edx, dword [esp + 0x3c]
push 8
push 0x300301
push 0
push 0x805
push 1
push 1
push 0x200
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004206e0
push 0
push 0
push 0
push 0
mov ecx, ebp
call fcn.00420a50
mov eax, dword [esp + 0x20]
push 1
push eax
mov ecx, ebp
call fcn.00420870
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x5a6f04]
mov dword [ebp + 0xa4d36b], ecx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea ecx, [ebp + eax*4 + 0x25ba8]
call fcn.0040c8c0
lea edi, [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4367f2
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], edx
mov word [esp + 0x54], cx
mov ecx, 0x20
lea edi, [esp + 0x98]
mov word [esp + 0x48], dx
mov edx, dword [ebp + 0x7a0f15]
lea esi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [esp + 0x4c]
mov eax, ecx
mov dword [esp + 0x28], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x1c], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
lea ebx, [ecx + 0xacbcb3]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x58]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x24], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x58]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x436717
mov ecx, edx
lea esi, [esp + 0x58]
lea edi, [esp + 0x40]
lea eax, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
push ecx
call fcn.004b3980
add esp, 8
test eax, eax
je 0x43673d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add ebx, 0xa2
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jl 0x4366ae
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x508
ret 4
mov al, byte [ebp + 0x5a7326]
test al, al
jbe 0x436777
xor ecx, ecx
and eax, 0xff
mov cx, word [ebp + 0x2aa84a]
xor edx, edx
mov dx, word [ebp + 0x2aa848]
lea esi, [ebp + eax*8 + 0x2aa844]
mov eax, ecx
lea edi, [esp + edx + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4da8f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x98]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x58]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [ebp + 0x5a7327]
mov ecx, ebx
and ecx, 3
cmp al, 1
rep movsb byte es:[edi], byte [esi]
jne 0x4367f2
mov eax, dword [esp + 0x38]
push 0
push 2
lea ecx, [esp + 0xa0]
push eax
push ecx
mov ecx, ebp
call fcn.004197a0
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x508
ret 4