Function at 0x45f6e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebp
push esi
mov ebp, ecx
push edi
lea edi, [ebp + 0xe8]
mov dword [esp + 0x10], edi
call ebx
mov esi, eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45f70d
cmp eax, esi
jne 0x45f70d
inc dword [edi + 0x18]
jmp 0x45f731
mov al, byte [edi + 5]
test al, al
je 0x45f720
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x45f727
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], esi
mov eax, dword [ebp + 0x124]
mov esi, dword [esp + 0x40]
shr eax, 1
cmp esi, eax
jae 0x45fbae
mov edi, dword [esp + 0x44]
test edi, edi
je 0x45f81f
mov eax, dword [ebp + 0x120]
shl esi, 7
mov cl, byte [esi + eax]
add esi, eax
mov byte [edi], cl
mov dl, byte [esi + 1]
mov byte [edi + 1], dl
mov al, byte [esi + 2]
mov byte [edi + 2], al
mov cl, byte [esi + 3]
mov byte [edi + 3], cl
mov dl, byte [esi + 4]
mov byte [edi + 4], dl
mov al, byte [esi + 5]
mov byte [edi + 5], al
mov cl, byte [esi + 6]
mov byte [edi + 6], cl
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [edi + 0x20], edx
lea eax, [esi + 0x24]
mov edx, dword [eax]
lea ecx, [edi + 0x24]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x38], ecx
mov edx, dword [esi + 0x3c]
lea eax, [esi + 0x40]
push eax
lea ecx, [edi + 0x40]
mov dword [edi + 0x3c], edx
call fcn.00436200
lea ecx, [esi + 0x44]
push ecx
lea ecx, [edi + 0x44]
call fcn.00436200
lea edx, [esi + 0x48]
push edx
lea ecx, [edi + 0x48]
call fcn.00436200
lea eax, [esi + 0x4c]
push eax
lea ecx, [edi + 0x4c]
call fcn.00436200
lea ecx, [esi + 0x50]
push ecx
lea ecx, [edi + 0x50]
call fcn.00436200
add esi, 0x54
push esi
lea ecx, [edi + 0x54]
call fcn.00499b00
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x45f936
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 0x120]
shl edx, 7
mov cl, byte [eax + edx + 3]
test cl, cl
je 0x45f863
lea ecx, [esp + 0x14]
push ecx
call fcn.00458370
add esp, 4
push eax
mov ecx, ebx
call fcn.00499b00
lea ecx, [esp + 0x14]
call fcn.00499ac0
jmp 0x45f936
lea esi, [ebp + 0x128]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45f881
cmp eax, edi
jne 0x45f881
inc dword [esi + 0x18]
jmp 0x45f8a5
mov al, byte [esi + 5]
test al, al
je 0x45f894
lea edx, [esi + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x45f89b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], edi
mov eax, dword [esp + 0x40]
xor edx, edx
div dword [esi + 0x58]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + edx*4]
test edx, edx
je 0x45f8f7
mov eax, dword [esp + 0x40]
lea esp, [esp]
cmp eax, dword [edx + 8]
je 0x45f8cd
mov edx, dword [edx]
test edx, edx
jne 0x45f8c0
jmp 0x45f8f7
lea eax, [edx + 4]
test eax, eax
je 0x45f8f7
mov edx, dword [eax]
push edx
mov ecx, esi
call fcn.00463690
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x4c]
imul eax, eax, 0x34
lea eax, [eax + ecx + 0xc]
test eax, eax
je 0x45f8f7
push eax
mov ecx, ebx
call fcn.00499b00
mov eax, dword [esi + 0x18]
test eax, eax
je 0x45f915
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45f915
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x14], eax
jne 0x45f915
dec dword [esi + 0x18]
jmp 0x45f936
mov al, byte [esi + 5]
test al, al
mov dword [esi + 0x14], 0
je 0x45f92f
add esi, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45f936
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov esi, dword [esp + 0x48]
test esi, esi
je 0x45fa40
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x120]
shl eax, 7
mov dl, byte [ecx + eax + 3]
test dl, dl
je 0x45f97a
lea edx, [esp + 0x14]
push edx
call fcn.00458370
add esp, 4
push eax
mov ecx, esi
call fcn.00499b00
lea ecx, [esp + 0x14]
call fcn.00499ac0
jmp 0x45fa40
lea esi, [ebp + 0x18c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x45f99a
cmp eax, edi
jne 0x45f99a
inc dword [esi + 0x18]
jmp 0x45f9ba
mov al, byte [esi + 5]
test al, al
je 0x45f9ad
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x45f9b4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov ecx, dword [esp + 0x40]
xor edx, edx
mov eax, ecx
div dword [esi + 0x58]
mov eax, dword [esi + 0x60]
mov edx, dword [eax + edx*4]
cmp edx, ebx
je 0x45fa09
nop
cmp ecx, dword [edx + 8]
je 0x45f9dd
mov edx, dword [edx]
cmp edx, ebx
jne 0x45f9d0
jmp 0x45fa09
lea eax, [edx + 4]
cmp eax, ebx
je 0x45fa09
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.00463690
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x4c]
imul edx, edx, 0x34
lea eax, [edx + eax + 0xc]
cmp eax, ebx
je 0x45fa09
mov ecx, dword [esp + 0x48]
push eax
call fcn.00499b00
cmp dword [esi + 0x18], ebx
je 0x45fa23
cmp dword [esi + 0x14], ebx
je 0x45fa23
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x14], eax
jne 0x45fa23
dec dword [esi + 0x18]
jmp 0x45fa40
mov al, byte [esi + 5]
test al, al
mov dword [esi + 0x14], ebx
je 0x45fa39
add esi, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45fa40
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x45fb47
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebp + 0x120]
mov eax, ebx
shl eax, 7
mov dl, byte [ecx + eax + 3]
test dl, dl
je 0x45fa86
lea edx, [esp + 0x14]
push edx
call fcn.00458370
add esp, 4
push eax
mov ecx, esi
call fcn.00499b00
lea ecx, [esp + 0x14]
call fcn.00499ac0
jmp 0x45fb47
lea esi, [ebp + 0x1f0]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esi + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x45faa6
cmp eax, edi
jne 0x45faa6
inc dword [esi + 0x18]
jmp 0x45fac6
mov al, byte [esi + 5]
test al, al
je 0x45fab9
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x45fac0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], edi
xor edx, edx
mov eax, ebx
div dword [esi + 0x58]
mov eax, dword [esi + 0x60]
mov edx, dword [eax + edx*4]
cmp edx, ebp
je 0x45fb10
cmp ebx, dword [edx + 8]
je 0x45fae4
mov edx, dword [edx]
cmp edx, ebp
jne 0x45fad7
jmp 0x45fb10
lea eax, [edx + 4]
cmp eax, ebp
je 0x45fb10
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.00463690
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x4c]
imul edx, edx, 0x34
lea eax, [edx + eax + 0xc]
cmp eax, ebp
je 0x45fb10
mov ecx, dword [esp + 0x4c]
push eax
call fcn.00499b00
cmp dword [esi + 0x18], ebp
je 0x45fb2a
cmp dword [esi + 0x14], ebp
je 0x45fb2a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x14], eax
jne 0x45fb2a
dec dword [esi + 0x18]
jmp 0x45fb47
mov al, byte [esi + 5]
test al, al
mov dword [esi + 0x14], ebp
je 0x45fb40
add esi, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45fb47
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x45fb77
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45fb77
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x14], eax
jne 0x45fb77
mov eax, dword [esi + 0x18]
dec eax
pop edi
mov dword [esi + 0x18], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x14
mov al, byte [esi + 5]
test al, al
mov dword [esi + 0x14], 0
je 0x45fb9b
add esi, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x14
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0x14
mov eax, dword [edi + 0x18]
test eax, eax
je 0x45fbd3
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45fbd3
call ebx
cmp dword [edi + 0x14], eax
jne 0x45fbd3
dec dword [edi + 0x18]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2c
ret 0x14
mov al, byte [edi + 5]
test al, al
mov dword [edi + 0x14], 0
je 0x45fbf8
add edi, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2c
ret 0x14
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2c
ret 0x14