Function at 0x403830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [0x4552f0]
push ebx
push esi
push edi
movzx edi, word [eax + 0x24]
mov eax, edi
mov dword [esp + 0x10], ecx
imul esi, eax, 0x230
mov dword [esp + 0x18], eax
push esi
push 4
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
push 0
push eax
mov dword [esp + 0x2c], eax
call fcn.0042b2e0
mov ecx, dword [0x4552f0]
add esp, 0xc
mov ebx, dword [ecx + 0x10]
movzx eax, word [ecx + 0x26]
add ebx, dword [0x4552ec]
shl eax, 6
mov ecx, dword [eax + ebx + 0x18]
xor eax, eax
add ecx, dword [0x4552ec]
mov dword [esp + 0x14], ecx
cmp ax, di
jae 0x403c48
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add edi, 0x10
mov dword [esp + 0x64], edi
add ebx, 8
mov dword [esp + 0x1c], edx
lea ebx, [ebx]
mov eax, dword [ebx - 4]
mov dword [edi - 0x10], eax
mov eax, dword [ebx]
mov dword [edi - 8], eax
mov eax, dword [ebx + 4]
mov dword [edi - 4], eax
mov eax, dword [ebx + 8]
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [ebx - 8]
test eax, eax
je 0x40394b
add eax, ecx
mov esi, eax
mov dword [esp + 0x60], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x403916
sub esi, ecx
lea ecx, [edi + 0x18]
test ecx, ecx
je 0x403947
lea eax, [esi + 1]
cmp eax, 0x208
ja 0x403947
push ecx
mov ecx, dword [esp + 0x64]
mov edx, esi
call fcn.00412960
mov edx, dword [esp + 0x1c]
xor eax, eax
mov word [edi + esi*2 + 0x18], ax
mov ecx, dword [esp + 0x14]
add ebx, 0x40
add edi, 0x230
sub edx, 1
mov dword [esp + 0x1c], edx
jne 0x4038d0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x64]
jmp 0x403970
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x403983
mov eax, dword [ebx + 0x10]
or eax, dword [ebx + 0x14]
je 0x403c37
lea eax, [ebx + 0x18]
mov dword [esp + 0x24], 5
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x104d
push dword [esp + 0x1c]
mov dword [esp + 0x38], 0x7fffffff
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], 0
call esi
mov ecx, dword [ebx - 0x10]
mov edi, eax
cmp ecx, 0x6fff4700
ja 0x403a86
je 0x403a7f
cmp ecx, 0x13
ja case.0x403a91.1879048184
jmp dword [ecx*4 + 0x403c70]
mov eax, str.NULL
jmp 0x403ac7
mov eax, str.PROGBITS
jmp 0x403ac7
mov eax, str.SYMTAB
jmp 0x403ac7
mov eax, str.STRTAB
jmp 0x403ac7
mov eax, str.RELA
jmp 0x403ac7
mov eax, str.HASH
jmp 0x403ac7
mov eax, str.DYNAMIC
jmp 0x403ac7
mov eax, str.NOTE
jmp 0x403ac7
mov eax, str.NOBITS
jmp 0x403ac7
mov eax, 0x44c014
jmp 0x403ac7
mov eax, str.SHLIB
jmp 0x403ac7
mov eax, str.DYNSYM
jmp 0x403ac7
mov eax, 0x44c038
jmp 0x403ac7
mov eax, str.INIT_ARRAY
jmp 0x403ac7
mov eax, str.FINI_ARRAY
jmp 0x403ac7
mov eax, str.PREINIT_ARRAY
jmp 0x403ac7
mov eax, str.GROUP
jmp 0x403ac7
mov eax, str.SYMTAB_SHNDX
jmp 0x403ac7
mov eax, str.GNU_INCREMENTAL_INPUTS
jmp 0x403ac7
sub ecx, 0x6ffffff5
cmp ecx, 0xa
ja case.0x403a91.1879048184
jmp dword [ecx*4 + 0x403cc0]
mov eax, str.GNU_ATTRIBUTES
jmp 0x403ac7
mov eax, str.GNU_HASH
jmp 0x403ac7
mov eax, str.GNU_LIBLIST
jmp 0x403ac7
mov eax, str.VERDEF
jmp 0x403ac7
mov eax, str.VERNEED
jmp 0x403ac7
mov eax, str.VERSYM
jmp 0x403ac7
mov eax, 0x44bed4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x104c
push dword [esp + 0x1c]
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 1
call esi
push 0x10
lea eax, [esp + 0x88]
mov dword [esp + 0x84], 0x780030
push eax
push dword [ebx]
call fcn.0042bd16
add esp, 0xc
mov dword [esp + 0x24], 1
lea eax, [esp + 0x80]
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 2
push eax
push 0
push 0x104c
push dword [esp + 0x1c]
call esi
push 0x10
lea eax, [esp + 0x88]
mov dword [esp + 0x84], 0x780030
push eax
push dword [ebx + 8]
call fcn.0042bd16
add esp, 0xc
mov dword [esp + 0x24], 1
lea eax, [esp + 0x80]
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 3
push eax
push 0
push 0x104c
push dword [esp + 0x1c]
call esi
mov al, byte [0x453dc8]
lea ecx, [esp + 0x68]
mov byte [esp + 0x72], al
mov edx, 1
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x14]
push 0
mov dword [esp + 0x6c], 0x10c
mov dword [esp + 0x80], eax
call fcn.004234e0
mov ecx, eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
call fcn.00411b30
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x104c
push dword [esp + 0x1c]
call esi
push dword [ebx - 4]
mov dword [esp + 0x28], 1
push dword [ebx - 8]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 5
call fcn.00403620
mov ecx, eax
call fcn.00411b30
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x104c
push dword [esp + 0x1c]
call esi
add ebx, 0x230
sub dword [esp + 0x18], 1
jne 0x403970
push dword [esp + 0x20]
push 0
push dword [0x454e50]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00429cdd
mov esp, ebp
pop ebp
ret