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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
lea ebp, [eax + eax*4]
shl ebp, 4
cmp dword [edx + ebp + 0x38], 0xffffffff
je 0x40bca5
mov ebx, dword [edx + ebp]
test bl, 0x2c
je 0x40bca5
mov eax, ebx
and eax, 0xc000
jne 0x40bca5
xor edi, edi
test bl, 2
je 0x40bc93
mov edi, dword [edx + ebp + 0x14]
mov eax, dword [esi + 8]
test edi, edi
je 0x40bc77
mov ecx, dword [edx + ebp + 0x10]
test ecx, ecx
je 0x40bc77
lea edx, [eax + edi]
cmp edx, dword [esi + 4]
ja 0x40bc72
add eax, dword [esi]
push edi
push ecx
push eax
call fcn.006fb4d0
add esp, 0xc
add edi, dword [esi + 8]
mov edx, edi
mov dword [esi + 8], edx
mov eax, edx
lea ecx, [eax + 2]
cmp ecx, dword [esi + 4]
ja 0x40bc8d
mov ecx, dword [esi]
mov word [ecx + eax], 0xa3a
mov ecx, dword [esi + 8]
add ecx, 2
mov dword [esi + 8], ecx
xor edi, edi
inc edi
mov ecx, esi
push edi
push edi
push dword [esp + 0x78]
call fcn.0040c23c
jmp 0x40c01c
lea edi, [ecx + 0x30]
call fcn.0048e31e
lea ebx, [esp + 0x58]
mov dword [ebx], edi
mov edi, dword [esi + 0xc]
mov ecx, edi
call fcn.0048e31e
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
add eax, 0x30
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + ebp]
mov ebx, eax
not ebx
test bl, 0x28
jne 0x40bdb9
mov eax, dword [edx + ebp + 0x3c]
cmp eax, 0xffffffff
je 0x40c01c
mov ecx, esp
push eax
call fcn.0040c992
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + ebp + 0x3c]
cmp eax, 0xffffffff
je 0x40c01c
mov ebp, 0x43
mov edi, esp
lea ebx, [eax + eax*4]
shl ebx, 4
mov ecx, dword [ecx + ebx]
bt ecx, 0xe
jb 0x40bd36
test cx, cx
js 0x40bd42
mov ecx, esi
push 1
push 0
push eax
call fcn.0040d04a
jmp 0x40bd88
mov ecx, esi
push 0
push eax
call fcn.0040cc96
jmp 0x40bd88
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x116
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], str.C:_Projects_VisualStudio_TMLoader_external_rymlc4_yml_emit.def.hpp
mov dword [esp + 0x1c], ebp
sub esp, 0x1c
mov dword [esp + 0x18], ebp
movups xmm0, xmmword [esp + 0x28]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], 0x13
mov dword [esp], str.check_failed:_false
call fcn.004754e1
add esp, 0x1c
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + ebx + 0x44]
cmp eax, 0xffffffff
je 0x40c01c
mov ecx, edi
push eax
call fcn.0040c992
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + ebx + 0x44]
cmp eax, 0xffffffff
jne 0x40bd14
jmp 0x40c01c
test al, 0x2c
je 0x40bde4
bt eax, 0xe
jb 0x40be77
test ax, ax
js 0x40bf12
mov ecx, esi
push 1
push 0
push dword [esp + 0x78]
call fcn.0040d04a
jmp 0x40c01c
test al, 0x10
jne 0x40be89
mov ebx, eax
and bl, 3
cmp bl, 1
je 0x40bf62
mov ebx, eax
and ebx, 3
cmp ebx, 3
jne 0x40bfad
and eax, 0x2aa2142
add edx, ebp
add edx, 8
xor edi, edi
mov ecx, esi
push edi
push edi
push eax
push edx
call fcn.0040d3c4
mov ecx, dword [esi + 8]
lea eax, [ecx + 2]
cmp eax, dword [esi + 4]
ja 0x40be38
mov eax, dword [esi]
mov word [eax + ecx], 0x203a
mov eax, dword [esi + 8]
add eax, 2
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
shl ecx, 4
lea ebx, [ecx + ecx*4]
mov edx, 0x5541281
add eax, ebx
add eax, 0x20
and edx, dword [eax - 0x20]
mov ecx, esi
push edi
push edi
push edx
push eax
call fcn.0040d3c4
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test byte [eax + ebx + 1], 0xc0
jne 0x40c01c
jmp 0x40bf93
mov ecx, esi
push 0
push dword [esp + 0x74]
call fcn.0040cc96
jmp 0x40c01c
and eax, 3
cmp eax, 1
je 0x40bf02
movaps xmm0, xmmword [str.check_failed:__m_tree__is_val_idunknown]
lea eax, [esp + 0xc]
movups xmmword [eax], xmm0
movaps xmm0, xmmword [0x7261b0]
movups xmmword [eax + 0x10], xmm0
mov word [eax + 0x20], 0x2929
mov byte [eax + 0x22], 0
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x2c]
xor edi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], pe_nt_image_headers32
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], str.C:_Projects_VisualStudio_TMLoader_external_rymlc4_yml_emit.def.hpp
mov edi, 0x43
mov dword [esp + 0x54], edi
sub esp, 0x20
mov dword [esp + 0x18], edi
movups xmm0, xmmword [esp + 0x64]
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x1c], edx
mov dword [esp], eax
mov dword [esp + 4], 0x23
call ecx
add esp, 0x20
mov ecx, esi
push dword [esp + 0x70]
call fcn.0040caf8
jmp 0x40c01c
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x116
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], str.C:_Projects_VisualStudio_TMLoader_external_rymlc4_yml_emit.def.hpp
mov eax, 0x43
mov dword [esp + 0x1c], eax
sub esp, 0x1c
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x28]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], 0x13
mov dword [esp], str.check_failed:_false
call fcn.004754e1
add esp, 0x1c
jmp 0x40c01c
and eax, 0x5541281
mov ecx, dword [esp + 0x70]
shl ecx, 4
lea edi, [ecx + ecx*4]
add edx, edi
add edx, 0x20
xor ebx, ebx
mov ecx, esi
push ebx
push ebx
push eax
push edx
call fcn.0040d3c4
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test byte [eax + edi + 1], 0xc0
jne 0x40c01c
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
cmp eax, dword [esi + 4]
ja 0x40bfa8
mov eax, dword [esi]
mov byte [eax + ecx], 0xa
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
jmp 0x40c01c
or eax, dword [edx + ebp + 4]
je 0x40c01c
movsd xmm0, qword [0x7261c0]
lea eax, [esp + 0xc]
movsd qword [eax], xmm0
mov dword [eax + 8], 0x65707974
mov byte [eax + 0xc], 0
mov edx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x2c]
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x90
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], str.C:_Projects_VisualStudio_TMLoader_external_rymlc4_yml_emit.def.hpp
mov esi, 0x43
mov dword [esp + 0x40], esi
sub esp, 0x20
mov dword [esp + 0x18], esi
movups xmm0, xmmword [esp + 0x50]
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x1c], edx
mov dword [esp], eax
mov dword [esp + 4], 0xd
call ecx
add esp, 0x20
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 4