Function at 0x40b030
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ace1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x44e414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.GD32MCU.0
mov eax, dword [0x43f2e0]
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x28]
mov dword [ebp - 4], 0
mov ecx, ebx
call dword [0x43f1c8]
lea ecx, [esi + 0x38]
call dword [0x43f1c8]
lea ecx, [esi + 0x50]
call dword [0x43f1c8]
lea edi, [esi + 0x82]
mov ecx, edi
call dword [0x43f1c8]
lea ecx, [esi + 0x8a]
call dword [0x43f1c8]
add esi, 0x8e
mov ecx, esi
call dword [0x43f1c8]
lea ecx, [esi + 4]
call dword [0x43f1c8]
lea ecx, [esi + 8]
call dword [0x43f1c8]
lea ecx, [esi + 0xc]
call dword [0x43f1c8]
lea ecx, [esi + 0x10]
call dword [0x43f1c8]
lea ecx, [esi + 0x18]
call dword [0x43f1c8]
mov esi, dword [ebp - 0x10]
xor eax, eax
push 0x43f978
mov byte [ebp - 4], 6
lea ecx, [esi + 0x50]
mov dword [esi + 0xde], 0
mov dword [esi + 0xd6], 0
mov dword [esi + 0xda], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x24], 0x8000000
mov dword [esi + 0x30], 0x8080000
mov dword [esi + 0x34], 0x20000000
mov dword [esi + 0xba], 0x1000
mov dword [esi + 0x86], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0x8000000
mov dword [esi + 0x60], 0
mov word [esi + 0x70], ax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
call dword [0x43f26c]
mov dword [esi + 0x40], 0
mov ecx, edi
mov dword [esi + 0x44], 0
mov dword [esi + 0x76], 0
mov dword [esi + 0x7a], 0
mov dword [esi + 0x72], 0
mov dword [esi + 0x7e], 0
mov dword [esi + 0x48], 0xffffffff
push 0x43f978
mov dword [esi + 0x4c], 0xffffffff
call dword [0x43f26c]
mov esi, dword [0x43f2a8]
push 4
push str.0x_1
call esi
mov dword [ebp - 0x14], eax
add esp, 4
mov byte [ebp - 4], 7
mov byte [ebp - 0x18], 0x20
mov ecx, esp
push dword [ebp - 0x18]
call dword [0x43f2dc]
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push 0x10
push 0
lea ecx, [ebp - 0x14]
push dword [edi + 0x24]
push eax
call dword [0x43f2cc]
push eax
mov ecx, ebx
call dword [0x43f2d4]
lea ecx, [ebp - 0x1c]
call dword [0x43f338]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call dword [0x43f338]
push 4
push str.0x_1
call esi
mov dword [ebp - 0x14], eax
add esp, 4
mov byte [ebp - 0x1c], 0x20
mov ecx, esp
mov byte [ebp - 4], 8
push dword [ebp - 0x1c]
call dword [0x43f2dc]
push 0x10
push 0
push dword [edi + 0x34]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call dword [0x43f2cc]
push eax
lea ecx, [edi + 0x38]
call dword [0x43f2d4]
lea ecx, [ebp - 0x18]
call dword [0x43f338]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call dword [0x43f338]
push 4
mov dword [edi + 0xb2], 0x1ffff800
mov dword [edi + 0xb6], 0x1ffff7e8
mov dword [edi + 0xaa], 0x1ffff7e0
mov dword [edi + 0xae], 0x1ffff7e2
mov dword [edi + 0xbe], 0
call fcn.0043959a
add esp, 4
test eax, eax
je 0x40b2bc
mov ecx, dword [0x43f2e0]
mov dword [eax], ecx
jmp 0x40b2be
xor eax, eax
push 0x5e
mov dword [edi + 0xbe], eax
mov dword [edi + 0xca], 0
mov dword [edi + 0xd2], 0
mov dword [edi + 0xc2], 0
call fcn.0043959a
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 9
lea ebx, [edi + 0x40]
test esi, esi
je 0x40b310
sub esp, 0x44
mov ecx, esp
push ebx
call fcn.0040b3a0
mov ecx, esi
call fcn.004188b0
jmp 0x40b312
xor eax, eax
push 0x8e
mov byte [ebp - 4], 6
mov dword [edi + 0xd6], eax
call fcn.0043959a
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x40b34a
sub esp, 0x44
mov ecx, esp
push ebx
call fcn.0040b3a0
mov ecx, esi
call fcn.0041b020
jmp 0x40b34c
xor eax, eax
push 0x3b
mov byte [ebp - 4], 6
mov dword [edi + 0xda], eax
call fcn.0043959a
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x40b376
push 0
mov ecx, eax
call fcn.0040abc0
jmp 0x40b378
xor eax, eax
mov dword [edi + 0xe2], eax
mov eax, edi
mov byte [edi + 0xee], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret