Function at 0xbcb048
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xbcb7a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x43c]
call fcn.00b00724
mov dword [ebp - 0x14], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
cmp dword [eax + 0x440], 0
jbe 0xbcb196
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00b02aac
push eax
call fcn.00b5a714
push 0
push 0
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x6c]
mov ecx, 0x40
call fcn.00b5a61c
lea eax, [ebp - 0x28]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
push 0
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x20]
mov edx, 0x80100080
call fcn.00b5bc78
test eax, eax
jne 0xbcb18d
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x438]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x440]
call fcn.00b00724
mov ebx, eax
push 0
lea eax, [ebp - 0x28]
push eax
push ebx
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x440]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00b5bc20
test eax, eax
jne 0xbcb17e
mov eax, dword [0xc161b8]
mov eax, dword [eax]
add eax, 0x41c
push eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x440]
mov edx, ebx
mov eax, ebx
call fcn.00bbab44
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00bc9750
mov eax, ebx
call fcn.00b00744
mov eax, dword [ebp - 0x20]
call fcn.00b5bb9c
lea eax, [ebp - 0x1c]
push eax
call fcn.00b5a724
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ebx, dword [eax + 0x3c]
add ebx, edx
push 0x40
push 0x1000
mov eax, dword [ebx + 0x50]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00b04f60
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x50]
call fcn.00b00724
mov edi, eax
mov edx, dword [ebx + 0x50]
mov eax, edi
call fcn.00b0590c
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00b05904
movzx esi, word [ebx + 6]
dec esi
test esi, esi
jl 0xbcb22e
inc esi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
cmp dword [ebx + eax*8 + 0x10c], 0
jbe 0xbcb228
mov edx, dword [ebx + eax*8 + 0x108]
push edx
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*4]
mov edx, dword [ebx + edx*8 + 0x10c]
add edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebx + eax*8 + 0x104]
add eax, edi
pop edx
pop ecx
call fcn.00b05904
inc dword [ebp - 0x10]
dec esi
jne 0xbcb1ef
mov eax, dword [ebp - 0x14]
call fcn.00b00744
mov esi, edi
mov eax, esi
mov ebx, dword [eax + 0x3c]
add ebx, esi
mov eax, dword [ebx + 0xa0]
test eax, eax
je 0xbcb258
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebx + 0x34]
add eax, esi
mov edx, esi
call fcn.00bcadf8
mov eax, dword [ebx + 0x80]
test eax, eax
je 0xbcb26b
add eax, esi
mov edx, esi
call fcn.00bcae68
xor eax, eax
mov dword [ebp - 0x44], eax
cmp dword [ebx + 0x78], 0
je 0xbcb285
mov edx, 0xbcb7b4
mov eax, edi
call fcn.00bcaf78
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 0x50]
push eax
push edi
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00b04fc8
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00b04b30
mov eax, edi
call fcn.00b00744
lea edx, [ebp - 0x4c]
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00b476ec
lea edx, [ebp - 0x50]
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
call fcn.00b476ec
lea edx, [ebp - 0x54]
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
call fcn.00b476ec
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00b02abc
mov ebx, eax
add ebx, ebx
add ebx, 0x4b8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00b02abc
add eax, eax
add ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00b02abc
add eax, eax
add ebx, eax
mov eax, dword [ebp - 0x4c]
call fcn.00b02418
add ebx, eax
mov eax, dword [ebp - 0x50]
call fcn.00b02418
add ebx, eax
mov eax, dword [ebp - 0x54]
call fcn.00b02418
add ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
call fcn.00b036c4
mov esi, eax
test esi, esi
jl 0xbcb389
inc esi
xor edi, edi
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
mov eax, dword [eax + edi*4]
call fcn.00b02abc
add eax, eax
add eax, 2
add dword [ebp - 0x10], eax
inc edi
dec esi
jne 0xbcb368
mov eax, dword [ebp - 0x10]
call fcn.00b00724
mov ebx, eax
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00b0590c
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x28], edx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x2c], edx
mov al, byte [ebp - 9]
mov byte [ebx + 0x40], al
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x2c]
mov dword [ebx + 0x30], edx
mov edx, dword [eax + 0x30]
mov dword [ebx + 0x34], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x34]
mov dword [ebx + 0x38], edx
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x3c], edx
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00b02abc
add eax, eax
mov dword [ebx + 8], eax
mov eax, 0x4b8
mov dword [ebx + 0xc], eax
mov edx, dword [0xc161b8]
mov edx, dword [edx]
mov edx, dword [edx + 4]
mov esi, ebx
mov ecx, esi
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 8]
call fcn.00b05904
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.00b02abc
add eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 8]
add eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov ecx, esi
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 0x10]
call fcn.00b05904
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov al, byte [eax + 0xc]
mov byte [ebx + 0x18], al
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
call fcn.00b02abc
add eax, eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x20], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
add esi, eax
mov eax, esi
mov ecx, dword [ebx + 0x1c]
call fcn.00b05904
xor eax, eax
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x1c]
add eax, dword [ebx + 0x20]
mov dword [ebx + 0x88], eax
mov edx, ebx
add edx, eax
mov dword [ebp - 0x48], edx
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
call fcn.00b036c4
mov esi, eax
test esi, esi
jl 0xbcb527
inc esi
xor edi, edi
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
mov eax, dword [eax + edi*4]
call fcn.00b02abc
mov edx, dword [ebp - 0x48]
mov word [edx], ax
add dword [ebp - 0x48], 2
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
mov eax, dword [eax + edi*4]
call fcn.00b02abc
mov ecx, eax
add ecx, ecx
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x48]
call fcn.00b05904
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
mov eax, dword [eax + edi*4]
call fcn.00b02abc
add eax, eax
add dword [ebp - 0x48], eax
inc edi
dec esi
jne 0xbcb4b9
mov eax, ebx
add eax, dword [ebx + 0x88]
push eax
mov eax, dword [ebp - 0x48]
pop edx
sub eax, edx
mov dword [ebx + 0x84], eax
mov edx, dword [ebx + 0x88]
add edx, eax
mov dword [ebx + 0x4a0], edx
mov eax, dword [ebp - 0x4c]
call fcn.00b02418
mov edi, eax
mov dword [ebx + 0x49c], edi
mov esi, ebx
mov eax, esi
add eax, dword [ebx + 0x4a0]
mov ecx, edi
mov edx, dword [ebp - 0x4c]
call fcn.00b05904
mov eax, dword [ebx + 0x4a0]
add eax, dword [ebx + 0x49c]
mov dword [ebx + 0x4a8], eax
mov eax, dword [ebp - 0x50]
call fcn.00b02418
mov edi, eax
mov dword [ebx + 0x4a4], edi
mov eax, esi
add eax, dword [ebx + 0x4a8]
mov ecx, edi
mov edx, dword [ebp - 0x50]
call fcn.00b05904
mov eax, dword [ebx + 0x4a8]
add eax, dword [ebx + 0x4a4]
mov dword [ebx + 0x4b0], eax
mov eax, dword [ebp - 0x54]
call fcn.00b02418
mov edi, eax
mov dword [ebx + 0x4ac], edi
mov eax, esi
add eax, dword [ebx + 0x4b0]
mov ecx, edi
mov edx, dword [ebp - 0x54]
call fcn.00b05904
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x430]
mov dword [ebx + 0x44], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x434]
mov dword [ebx + 0x48], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
lea esi, [eax + 0x1c]
lea edi, [ebx + 0x8c]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov edx, dword [0xc161b8]
mov edx, dword [edx]
mov edx, dword [edx + eax*4 + 0x41c]
mov dword [ebx + eax*4 + 0x48c], edx
inc eax
cmp eax, 4
jne 0xbcb60f
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x438]
mov dword [ebx + 0x4c], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x43c]
mov dword [ebx + 0x50], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x440]
mov dword [ebx + 0x54], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x444]
mov dword [ebx + 0x58], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x448]
mov dword [ebx + 0x5c], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
mov dword [ebx + 0x60], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x46c]
mov dword [ebx + 0x64], eax
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov al, byte [eax + 0x471]
mov byte [ebx + 0x68], al
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov al, byte [eax + 0x472]
mov byte [ebx + 0x69], al
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov edx, dword [eax + 0x478]
mov dword [ebx + 0x70], edx
mov edx, dword [eax + 0x47c]
mov dword [ebx + 0x74], edx
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov al, byte [eax + 0x481]
mov byte [ebx + 0x79], al
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov al, byte [eax + 0x480]
mov byte [ebx + 0x78], al
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov al, byte [eax + 0x482]
mov byte [ebx + 0x7a], al
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov al, byte [eax + 0x483]
mov byte [ebx + 0x7b], al
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov al, byte [eax + 0x484]
mov byte [ebx + 0x7c], al
mov eax, dword [0xc161b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x488]
call fcn.00b036bc
mov dword [ebx + 0x80], eax
push 4
push 0x1000
mov eax, dword [ebx]
push eax
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00b04f60
mov esi, eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx]
push eax
push ebx
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.00b04fc8
mov eax, ebx
call fcn.00b00744
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [eax + 0x1c], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbcb7ac
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00b0216c
ret