Function at 0x7ddf174d
Capabilities:
Get process heap flags
Identify system language via api

Disassembly:
push 0x198
push 0x7ddf1f18
call fcn.7dd725e8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x138], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x184], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x160], eax
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
xor eax, eax
lea edi, [ebp - 0x148]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x16c], ebx
mov eax, dword [ebp + 0x1c]
mov ecx, eax
shr ecx, 3
and ecx, 1
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x198], ebx
shr eax, 4
not eax
and eax, 1
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x164], ebx
push 1
lea eax, [ebp + 0x1c]
push eax
call fcn.7dd9cca5
test eax, eax
jne 0x7ddf1801
push 0xc000000d
call sym.KERNEL32.dll_BaseSetLastNTError
xor eax, eax
jmp 0x7ddf1f0c
push esi
call sub.KERNELBASE.dll_BaseDllMapResourceIdW
mov dword [ebp - 0x180], eax
cmp eax, 0xffffffff
je 0x7ddf17f0
mov edi, dword [ebp - 0x168]
push edi
call sub.KERNELBASE.dll_BaseDllMapResourceIdW
mov dword [ebp - 0x17c], eax
cmp eax, 0xffffffff
jne 0x7ddf1836
push dword [ebp - 0x180]
call sub.KERNELBASE.dll_BaseDllFreeResourceId
jmp 0x7ddf17f0
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 4], ebx
push 1
push dword [ebp - 0x138]
call sym.KERNEL32.dll_BasepMapModuleHandle
mov dword [ebp - 0x12c], eax
test byte [ebp + 0x24], 1
je 0x7ddf18cd
test esi, 0xffff0000
je 0x7ddf1899
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x134]
push eax
push esi
call fcn.7dd9ab72
mov dword [ebp - 0x120], eax
cmp eax, ebx
jge 0x7ddf189f
mov dword [ebp - 0x124], ebx
jmp 0x7ddf1df5
mov dword [ebp - 0x134], esi
test edi, 0xffff0000
je 0x7ddf18c7
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x130]
push eax
push edi
call fcn.7dd9ab72
mov dword [ebp - 0x120], eax
cmp eax, ebx
jl 0x7ddf188e
jmp 0x7ddf18cd
mov dword [ebp - 0x130], edi
cmp dword [ebp - 0x158], ebx
je 0x7ddf192c
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x15c]
push dword [ebp - 0x12c]
call fcn.7dd9cced
mov dword [ebp - 0x120], eax
cmp eax, ebx
jl 0x7ddf1921
lea eax, [ebp - 0x164]
push eax
push ebx
push dword [ebp - 0x180]
push dword [ebp - 0x170]
call dword [sym.imp.ntdll.dll_LdrRscIsTypeExist]
mov dword [ebp - 0x120], eax
cmp eax, ebx
jl 0x7ddf188e
jmp 0x7ddf192c
cmp eax, 0xc000007b
je 0x7ddf188e
test byte [ebp + 0x1c], 6
je 0x7ddf1b9c
mov eax, dword [ebp - 0x170]
cmp eax, ebx
je 0x7ddf1b8c
test byte [eax + 0x10], 1
je 0x7ddf1b8c
test dword [ebp - 0x164], 0x20000
jne 0x7ddf1b80
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x128], ebx
mov edi, dword [ebp + 0x20]
cmp di, bx
je 0x7ddf1999
test byte [ebp + 0x1c], 4
je 0x7ddf1a14
push edi
call fcn.7ddf0318
test eax, eax
jne 0x7ddf1a14
mov dword [ebp - 0x120], 0xc00b0001
jmp 0x7ddf1b9c
mov eax, dword fs:[0x18]
push 0x40
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x144], eax
cmp eax, ebx
jne 0x7ddf19c8
mov dword [ebp - 0x120], 0xc0000017
jmp 0x7ddf188e
mov dword [ebp - 0x148], 0x20
lea eax, [ebp - 0x14c]
push eax
push ebx
push 0x7ddf077b
call fcn.7de16af2
cmp dword [ebp - 0x16c], ebx
je 0x7ddf19fe
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x12c]
call fcn.7ddf03c5
cmp dword [ebp - 0x14c], ebx
jne 0x7ddf1a1e
call fcn.7dd74521
mov ecx, dword [ebp - 0x144]
mov word [ecx], ax
mov dword [ebp - 0x14c], 1
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x14c]
jae 0x7ddf1b3d
cmp di, bx
je 0x7ddf1a3a
movzx esi, di
jmp 0x7ddf1a44
mov ecx, dword [ebp - 0x144]
movzx esi, word [ecx + eax*2]
xor eax, eax
mov dword [ebp - 0x1a0], eax
cmp eax, dword [ebp - 0x150]
jae 0x7ddf1a65
cmp word [ebp + eax*2 - 0x11c], si
je 0x7ddf1b32
inc eax
jmp 0x7ddf1a46
push 0x80
push ebx
lea eax, [ebp - 0x19c]
push eax
push esi
push dword [ebp - 0x12c]
call dword [sym.imp.ntdll.dll_LdrLoadAlternateResourceModuleEx]
mov dword [ebp - 0x120], eax
cmp eax, ebx
jl 0x7ddf1b28
movzx eax, si
mov dword [ebp - 0x178], eax
lea ecx, [ebp - 0x1a4]
push ecx
push dword [ebp + 0x1c]
push eax
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
push dword [ebp - 0x19c]
call fcn.7dd9d25e
mov dword [ebp - 0x120], eax
cmp eax, ebx
jl 0x7ddf1b32
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x150]
mov word [ebp + eax*2 - 0x11c], si
inc dword [ebp - 0x150]
push dword [ebp + 0x18]
push esi
test byte [ebp + 0x24], 1
je 0x7ddf1b1a
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push dword [ebp - 0x160]
call fcn.7dd9c8f0
test eax, eax
jne 0x7ddf1b32
mov dword [ebp - 0x120], 0xc00b0007
jmp 0x7ddf188e
push dword [ebp - 0x168]
push dword [ebp - 0x184]
jmp 0x7ddf1af6
mov dword [ebp - 0x120], 0xc00b0001
inc dword [ebp - 0x128]
jmp 0x7ddf1a1e
cmp dword [ebp - 0x16c], ebx
jne 0x7ddf1b5f
test byte [ebp + 0x1c], 4
jne 0x7ddf1b5f
cmp di, bx
jne 0x7ddf1b5f
mov dword [ebp - 0x16c], 1
jmp 0x7ddf19e4
mov eax, dword fs:[0x18]
push dword [ebp - 0x144]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x144], ebx
jmp 0x7ddf1b9c
mov dword [ebp - 0x120], 0xc000008a
jmp 0x7ddf1b96
mov dword [ebp - 0x120], 0xc00b0001
mov dword [ebp - 0x140], ebx
test byte [ebp + 0x1c], 1
je 0x7ddf1df5
test dword [ebp - 0x164], 0x40000
jne 0x7ddf1de5
cmp dword [ebp - 0x15c], ebx
je 0x7ddf1be8
push 1
push 0x100
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 0x12c]
call dword [sym.imp.ntdll.dll_LdrpResGetMappingSize]
mov dword [ebp - 0x120], eax
cmp eax, ebx
jge 0x7ddf1be8
mov dword [ebp - 0x154], ebx
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 0x1c]
push dword [ebp - 0x154]
push dword [ebp - 0x12c]
call fcn.7dd9cd1a
mov dword [ebp - 0x120], eax
cmp eax, ebx
jl 0x7ddf1df5
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp + 0x1c]
or eax, 0x400
push eax
push ebx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
push dword [ebp - 0x12c]
call fcn.7dd9d25e
mov dword [ebp - 0x120], eax
cmp eax, ebx
jl 0x7ddf1df5
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x174]
cmp dword [ebp - 0x15c], ebx
je 0x7ddf1ca7
lea eax, [ebp - 0x158]
push eax
push 0x10
push esi
call fcn.7dd836a6
test eax, eax
jl 0x7ddf1c92
lea ecx, [esi + 0x10]
mov eax, dword [ebp - 0x12c]
and eax, 0xfffffffc
cmp ecx, eax
jb 0x7ddf1c92
mov edx, dword [ebp - 0x154]
add eax, edx
cmp ecx, eax
jbe 0x7ddf1ca7
push 0xc000007b
call sym.KERNEL32.dll_BaseSetLastNTError
mov dword [ebp - 0x124], ebx
jmp 0x7ddf1de0
lea edi, [esi + 0x10]
mov dword [ebp - 0x194], edi
cmp word [esi + 0xc], bx
je 0x7ddf1cc5
mov dword [ebp - 0x120], 0xc000007b
jmp 0x7ddf1de0
cmp dword [ebp - 0x15c], ebx
je 0x7ddf1d0d
movzx eax, word [esi + 0xe]
cmp ax, bx
je 0x7ddf1d0d
lea ecx, [ebp - 0x158]
push ecx
push 8
movzx eax, ax
push eax
call fcn.7ddf02fa
test eax, eax
jl 0x7ddf1c92
mov eax, dword [ebp - 0x158]
add eax, esi
mov ecx, dword [ebp - 0x12c]
and ecx, 0xfffffffc
cmp eax, ecx
jb 0x7ddf1c92
mov edx, dword [ebp - 0x154]
add ecx, edx
cmp eax, ecx
ja 0x7ddf1c92
mov dword [ebp - 0x128], ebx
movzx eax, word [esi + 0xe]
cmp dword [ebp - 0x128], eax
jae 0x7ddf1de0
movzx eax, word [edi]
xor ecx, ecx
mov dword [ebp - 0x188], ecx
cmp ecx, dword [ebp - 0x150]
jae 0x7ddf1d43
cmp word [ebp + ecx*2 - 0x11c], ax
je 0x7ddf1d9b
inc ecx
jmp 0x7ddf1d28
mov dword [ebp - 0x13c], 1
push dword [ebp + 0x18]
push eax
test byte [ebp + 0x24], 1
je 0x7ddf1d87
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push dword [ebp - 0x160]
call fcn.7dd9c8f0
test eax, eax
jne 0x7ddf1d95
mov dword [ebp - 0x120], 0xc00b0007
jmp 0x7ddf1c9c
push dword [ebp - 0x168]
push dword [ebp - 0x184]
jmp 0x7ddf1d63
mov esi, dword [ebp - 0x174]
add edi, 8
mov dword [ebp - 0x194], edi
inc dword [ebp - 0x128]
jmp 0x7ddf1d13
mov dword [ebp - 4], ebx
jmp 0x7ddf1df5
mov dword [ebp - 0x120], 0xc000008a
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.7ddf1e3d
mov eax, dword [ebp + 0x1c]
mov esi, eax
and esi, 1
je 0x7ddf1ec2
test al, 6
je 0x7ddf1ec2
cmp dword [ebp - 0x140], ebx
jne 0x7ddf1ec2
cmp dword [ebp - 0x13c], ebx
jne 0x7ddf1ec2
xor esi, esi
jmp 0x7ddf1eff
mov ecx, eax
not ecx
test cl, 1
je 0x7ddf1edb
test al, 6
je 0x7ddf1edb
cmp dword [ebp - 0x140], ebx
je 0x7ddf1e2f
cmp esi, ebx
je 0x7ddf1eef
test al, 6
jne 0x7ddf1eef
cmp dword [ebp - 0x13c], ebx
jne 0x7ddf1eef
xor esi, esi
jmp 0x7ddf1ef5
mov esi, dword [ebp - 0x124]
cmp esi, ebx
je 0x7ddf1eff
mov dword [ebp - 0x120], ebx
push dword [ebp - 0x120]
call sym.KERNEL32.dll_BaseSetLastNTError
mov eax, esi
call fcn.7dd72630
ret 0x20