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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 0x130], 0
movaps xmmword [esp + 0x1b0], xmm0
movaps xmmword [esp + 0x1a0], xmm0
movaps xmmword [esp + 0x190], xmm0
movaps xmmword [esp + 0x180], xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], xmm0
mov ebx, 0x7f2bb701
cmp dword [edi], 0x7f2bb701
jne 0x41bae2
mov ebx, 0x7f2bb715
test byte [edi + 8], 1
je 0x41bae2
lea eax, [esp + 0x140]
push eax
push dword [ebp + 0xc]
push edi
call fcn.0041afb0
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x41baec
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x160]
test esi, 0x1000
jne 0x41bb2c
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], eax
test eax, eax
je 0x41c8ea
push eax
mov esi, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov edx, esi
add esp, 4
jmp 0x41c8ec
xorps xmm0, xmm0
movups xmmword [esp + 0xd0], xmm0
movups xmmword [esp + 0xc0], xmm0
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov edi, dword [edi + 0x14]
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x41c979
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x68], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0xe4], 0
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x41c983
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, 8
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
jmp 0x41bc0a
add dword [esp + 0x64], 1
mov dword [esp + 0x78], 0
mov esi, dword [esp + 0x160]
mov dword [esp + 0xe4], 0
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov edi, eax
test eax, eax
je 0x41c983
mov dword [esp + 0x80], edi
mov dword [esp + 0x78], 1
mov dword [esp + 0x38], 0
sub esp, 0x24
lea eax, [esp + 0xac]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
lea eax, [esp + 0x164]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00436120
add esp, 0x24
mov ebx, eax
test eax, eax
jne 0x41beb1
mov ebx, 0x7f2bb723
test byte [esp + 0x38], 1
jne 0x41beb1
push dword [ebp + 0xc]
push 0
push edi
push dword [esp + 0x98]
push dword [esp + 0x98]
mov edi, dword [ebp + 8]
push edi
call fcn.004316c0
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41beb1
mov eax, dword [esp + 0x80]
movzx edx, byte [eax + 0x1c]
mov ebx, 0x7f2bb759
cmp edx, 2
ja 0x41beb1
mov ecx, dword [edi + 0x10]
mov ebx, eax
lea eax, [edx + 3]
test byte [ecx + 0x160], 2
cmove eax, edx
mov dword [esp + 0x18], ebx
movzx edx, byte [ebx + 0x1e]
mov bl, byte [ecx + 0x61]
and bl, 0x40
cmp bl, 1
mov ebx, edi
mov edi, 3
sbb edi, 0
cmp edi, edx
jbe 0x41beac
and esi, 0x40000000
mov dword [esp + 0x70], eax
add ecx, 0xec
lea edx, [esp + 0xe4]
push edx
lea edx, [esp + 0x78]
push edx
push ecx
push esi
push dword [ebx + 0xc4]
push dword [esp + 0x80]
push dword [esp + 0x80]
push eax
call fcn.00437a80
add esp, 0x20
mov esi, ebx
mov ebx, eax
test eax, eax
jne 0x41beb1
xor eax, eax
jmp 0x41bd61
add eax, 0xfffffff8
mov dword [esp + ebx + 0x98], eax
mov edx, dword [esp + 0xc]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + 0x1e]
cmp edx, ecx
mov esi, dword [ebp + 8]
jae 0x41c8d7
mov ecx, eax
shl ecx, 5
mov dword [esp + 0x1c], ecx
add ecx, esp
add ecx, 0x80
mov dword [esp + 0xc], eax
test eax, eax
je 0x41be25
mov dword [esp + 0x14], ecx
push dword [esi + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x41c8e0
mov edx, eax
mov ecx, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov dword [eax], edx
add dword [esp + 0x78], 1
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + esi + 0x78]
mov eax, dword [eax + 4]
mov edx, 0xfffffff
and eax, edx
lea edi, [esp + esi]
add edi, 0x88
mov dword [esp + 0x38], 0
push edi
lea edx, [esp + 0x3c]
push edx
push 0
push eax
push 0
push 0
lea eax, [esp + 0x158]
push eax
push dword [ebp + 0xc]
push ecx
call fcn.00436120
add esp, 0x24
test eax, eax
jne 0x41c8d0
test byte [esp + 0x38], 1
jne 0x41beac
push dword [ebp + 0xc]
push 0
push dword [esp + 0x18]
push dword [edi + 4]
push dword [edi]
mov esi, dword [ebp + 8]
push esi
call fcn.004316c0
add esp, 0x18
test eax, eax
mov ecx, dword [esp + 0x14]
jne 0x41c8d0
mov edi, dword [esp + 0x1c]
lea eax, [esp + edi]
add eax, 0x90
push 0
mov dword [esp + 0x18], eax
push eax
push dword [ecx]
push esi
call fcn.00413100
add esp, 0x10
test eax, eax
jne 0x41c8d0
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
movzx esi, word [edx + 2]
movzx eax, word [edx]
mov dword [esp + edi + 0x94], edx
test esi, esi
je 0x41beac
cmp si, ax
ja 0x41beac
mov ebx, edi
lea eax, [edx + 8]
cmp si, 2
jb 0x41bd3d
mov ecx, dword [esp + 0x74]
lea edx, [edx + esi*8]
add edx, 0xfffffff8
mov esi, edx
sub esi, eax
mov edi, esi
sar edi, 3
shr esi, 0x1f
add esi, edi
and esi, 0xfffffffe
cmp dword [eax + esi*4], ecx
lea edi, [eax + esi*4 - 8]
lea esi, [eax + esi*4 + 8]
cmovbe eax, esi
cmova edx, edi
cmp eax, edx
jbe 0x41be81
jmp 0x41bd3d
mov ebx, 0x7f2bb723
cmp dword [esp + 0x78], 0
jle 0x41c9be
xor esi, esi
lea edi, [esp + 0x80]
nop word cs:[eax + eax]
nop
mov eax, dword [edi]
test eax, eax
je 0x41bef1
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [edi], 0
add esi, 1
add edi, 0x20
cmp esi, dword [esp + 0x78]
jl 0x41bed0
mov dword [esp + 0x78], 0
xor eax, eax
test ebx, ebx
jne 0x41c9be
shl eax, 5
lea ecx, [esp + 0x68]
mov eax, dword [eax + ecx + 0x10]
mov esi, dword [eax + 4]
mov eax, 0xfffffff
and esi, eax
mov dword [esp + 0xf0], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push esi
push 0
push 0
lea eax, [esp + 0x158]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.00436120
add esp, 0x24
mov ebx, eax
test eax, eax
jne 0x41c068
mov ebx, 0x7f2bb723
test byte [esp + 0x38], 1
jne 0x41c068
push dword [ebp + 0xc]
push 0
push dword [esp + 0x28]
push dword [esp + 0x40]
push dword [esp + 0x40]
push edi
call fcn.004316c0
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41c068
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf4], 0x41c9f0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 1
mov eax, dword [esp + 0x20]
mov dword [esp + 0xec], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xf8], eax
mov dword [esp + 0x38], edi
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
sub esp, 0x20
lea eax, [esp + 0x104]
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], esi
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00430e90
add esp, 0x20
mov ebx, dword [esp + 0xfc]
test ebx, ebx
jne 0x41c068
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x41c068
cmp dword [esp + 0x4c], 0
mov ebx, 0
mov eax, 0x7f2bb726
cmove ebx, eax
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x64], eax
jge 0x41c9cf
cmp ebx, 0x7f2bb726
jne 0x41c9cf
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x1c], ecx
mov dl, byte [ecx + 0x65]
and dl, 4
shr dl, 2
movzx edx, dl
lea ecx, [edx*8 + 8]
mov dword [esp + 0x24], ecx
test eax, eax
mov esi, 0
cmovs esi, eax
mov edx, eax
shl edx, 5
lea ecx, [esp + 0x70]
add edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
lea ecx, [esi - 1]
mov dword [esp + 0x2c], ecx
mov esi, eax
nop
mov edi, esi
test esi, esi
jle 0x41c124
mov ecx, dword [edx]
movzx ebx, word [ecx + 2]
add edx, 0xffffffe0
lea esi, [edi - 1]
cmp bx, word [ecx]
jae 0x41c100
lea eax, [esi + 1]
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], esi
jmp 0x41c141
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + 0x61]
and cl, 0x40
cmp cl, 1
mov ecx, 3
sbb ecx, 0
cmp eax, ecx
jae 0x41c9dc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], eax
push 0
push eax
mov esi, dword [esp + 0x18]
push esi
mov ebx, dword [esp + 0x24]
push ebx
call fcn.00434a60
add esp, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
add ebx, dword [esp + 0x28]
adc esi, 0
push esi
push ebx
lea esi, [esp + 0x148]
push esi
push dword [ebp + 8]
call fcn.00412a10
add esp, 0x10
test eax, eax
jne 0x41c98a
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x28]
push 0
push 0
push esi
mov eax, dword [ebp + 0xc]
push eax
push 3
mov esi, dword [ebp + 8]
push esi
call fcn.00437b50
add esp, 0x28
test eax, eax
jne 0x41c98a
lea eax, [esp + 0x140]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0041b2f0
add esp, 0xc
test eax, eax
jne 0x41c98a
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
push 0
push 0
lea eax, [esp + 0x158]
push eax
push dword [ebp + 0xc]
push esi
call fcn.00436120
add esp, 0x24
test eax, eax
jne 0x41c98a
mov esi, dword [esp + 0xc]
cmp esi, dword [esp + 0x78]
jne 0x41c351
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x160]
mov eax, 0x40000000
and ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xe4], 0
mov dword [esp + 0x10c], 0
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov ebx, 0x7f2bb746
mov dword [esp + 0x10], eax
test eax, eax
je 0x41c4fc
mov eax, esi
mov ecx, 0xaaaaaaab
mul ecx
shr edx, 1
and edx, 0xfffffffc
lea eax, [edx + edx*2]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x41c508
test esi, esi
mov dword [esp + 0x18], eax
je 0x41c520
mov dword [esp + 0xc], 0
xor esi, esi
jmp 0x41c2ba
add dword [esp + 0xc], 1
mov edi, dword [ebp + 8]
add esi, dword [esp + 0xe4]
cmp esi, dword [edi + 0x14]
jae 0x41c540
mov eax, edi
mov ecx, dword [esp + 0x20]
lea edi, [ecx + esi]
lea ecx, [esp + 0xe4]
push ecx
push edi
push eax
call fcn.00430d00
add esp, 0xc
test eax, eax
jne 0x41c343
movzx eax, byte [edi + 6]
test eax, eax
je 0x41c2a7
cmp dword [edi], 0
je 0x41c2a7
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + ecx*2]
mov ebx, dword [esp + 0x18]
mov dword [ebx + ecx*4 + 8], esi
mov edx, dword [esp + 0xe4]
mov dword [ebx + ecx*4 + 4], edx
lea ecx, [ebx + ecx*4]
add edi, 8
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov ebx, 0xec
add edx, ebx
lea ebx, [esp + 0x10c]
push ebx
push ecx
push edx
push dword [esp + 0x20]
mov ecx, dword [ebp + 8]
push dword [ecx + 0xc4]
push eax
push edi
push dword [esp + 0x8c]
call fcn.00437a80
add esp, 0x20
test eax, eax
je 0x41c2a2
mov ebx, eax
lea edi, [esp + 0x80]
jmp 0x41c6c5
mov eax, dword [esp + 0x20]
mov dword [eax], 0
mov word [eax + 6], 0
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
push eax
call fcn.00430d40
add esp, 0xc
test eax, eax
jne 0x41c98a
shl esi, 5
mov ebx, dword [esp + esi + 0x90]
mov eax, esi
movzx esi, word [ebx + 2]
test edi, edi
mov dword [esp + 0xc], eax
jle 0x41c464
mov edi, esi
shr edi, 1
sub esi, edi
mov eax, dword [esp + eax + 0x94]
lea ecx, [eax + edi*8]
mov eax, dword [eax + edi*8]
mov dword [esp + 0x14], eax
lea eax, [esi*8]
push eax
push ecx
push dword [esp + 0x68]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov word [ecx + 0xa], si
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
sub eax, dword [esp + 0x24]
shr eax, 3
mov word [ecx + 8], ax
mov word [ebx + 2], di
mov ebx, dword [esp + 0x2c]
shl ebx, 5
mov eax, dword [esp + ebx + 0x90]
movzx esi, word [eax + 2]
lea eax, [esi*8]
add eax, dword [esp + ebx + 0x94]
mov edi, dword [esp + ebx + 0x98]
lea ecx, [edi + 8]
lea edx, [edi + 0x10]
sub eax, ecx
push eax
push ecx
push edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov edi, dword [ebp + 8]
add esi, 1
mov eax, dword [esp + ebx + 0x90]
mov word [eax + 2], si
mov esi, dword [ebp + 0xc]
push esi
push 0
push dword [esp + ebx + 0x88]
push dword [esp + ebx + 0x98]
push dword [esp + ebx + 0x98]
push edi
call fcn.00431800
add esp, 0x18
test eax, eax
je 0x41c4b5
jmp 0x41c98a
shl esi, 3
push esi
push dword [esp + 0x98]
mov esi, dword [esp + 0x68]
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
sub eax, dword [esp + 0x24]
shr eax, 3
mov word [esi], ax
mov eax, dword [esp + 0x90]
mov word [eax + 2], 1
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x80]
add byte [eax + 0x1e], 1
mov esi, dword [ebp + 0xc]
push esi
push 0
mov eax, dword [esp + 0x14]
push dword [esp + eax + 0x88]
push dword [esp + eax + 0x98]
push dword [esp + eax + 0x98]
push edi
call fcn.00431800
add esp, 0x18
test eax, eax
jne 0x41c98a
push esi
push 0
push dword [esp + 0x28]
push dword [esp + 0x48]
push dword [esp + 0x48]
push edi
call fcn.00431800
add esp, 0x18
mov ebx, eax
lea edi, [esp + 0x80]
jmp 0x41c6dd
push dword [esp + 0x10]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
lea edi, [esp + 0x80]
jmp 0x41c6dd
push 0x41cb80
push 0xc
push 0
push eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
add esp, 0x10
mov ebx, 0xffffffff
xor esi, esi
xor edx, edx
jmp 0x41c5c8
push 0x41cb80
push 0xc
mov esi, dword [esp + 0x14]
push esi
push dword [esp + 0x24]
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
add esp, 0x10
lea ebx, [esi - 1]
test esi, esi
jle 0x41c580
mov eax, dword [edi + 0x14]
shr eax, 1
lea ecx, [ebx + ebx*2]
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + ecx*4 + 4]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
cmp edx, eax
jbe 0x41c584
mov esi, dword [esp + 0xc]
mov edx, esi
jmp 0x41c5c8
mov edi, dword [esp + 0xc]
lea edx, [edi + edi*2]
lea esi, [esi + edx*4]
add esi, 0xffffffec
mov edx, edi
xor edi, edi
add edx, 0xffffffff
test edx, edx
jle 0x41c5ba
add edi, ecx
mov ecx, dword [esi]
mov ebx, ecx
shr ebx, 0x1f
add ebx, ecx
sar ebx, 1
add ebx, edi
add esi, 0xfffffff4
cmp ebx, eax
jbe 0x41c595
lea ebx, [edx - 1]
mov edi, dword [ebp + 8]
jmp 0x41c5c4
mov ebx, 0xffffffff
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, dword [esp + 0xc]
mov dword [esp + 0x100], ebx
sub esi, edx
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x24], eax
test esi, esi
mov dword [esp + 0x5c], edx
jle 0x41c646
mov dword [esp + 0xc], esi
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax*4]
add eax, 8
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
lea ecx, [edx + eax]
movzx esi, byte [edx + eax + 6]
add esi, 0xb
and esi, 0xfffffffc
push esi
push ecx
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov edi, ebx
push ebx
push esi
push dword [ebp + 8]
call fcn.00430d40
add esp, 0xc
test eax, eax
jne 0x41c343
mov ebx, edi
add ebx, esi
mov eax, dword [esp + 0x14]
add eax, 0xc
add dword [esp + 0xc], 0xffffffff
jne 0x41c5f8
jmp 0x41c64c
xor esi, esi
mov ebx, dword [esp + 0x10]
sub ebx, esi
mov eax, dword [esp + 0x24]
shl eax, 0x15
sar eax, 0x1f
and eax, 0xfffffff4
add eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
add eax, dword [esi + 0x14]
sub eax, ebx
push ebx
push eax
push esi
call fcn.00430d40
add esp, 0xc
mov ebx, eax
test eax, eax
lea edi, [esp + 0x80]
jne 0x41c6a1
and dword [esp + 0x24], 0x400
je 0x41c6a1
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
add eax, ecx
add eax, 0xfffffff4
push eax
push esi
call fcn.00413180
add esp, 8
jmp 0x41c6a5
test ebx, ebx
jne 0x41c6c5
push dword [ebp + 0xc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x38]
push dword [esp + 0x38]
push esi
call fcn.00431800
add esp, 0x18
mov ebx, eax
test eax, eax
je 0x41c72a
push dword [esp + 0x10]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
push dword [esp + 0x18]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test ebx, ebx
jne 0x41c993
cmp dword [esp + 0x78], 0
jle 0x41bbd3
xor esi, esi
lea edi, [esp + 0x80]
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x41bbd3
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [edi], 0
add esi, 1
add edi, 0x20
cmp esi, dword [esp + 0x78]
jl 0x41c700
jmp 0x41bbd3
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x41c79b
mov edx, dword [esp + 0x18]
add edx, 8
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
lea ecx, [edx + eax]
movzx edi, byte [edx + eax + 6]
add edi, 0xb
and edi, 0xfffffffc
push edi
push ecx
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov esi, ebx
push ebx
push edi
push dword [ebp + 8]
call fcn.00430d40
add esp, 0xc
test eax, eax
jne 0x41c343
mov ebx, esi
add ebx, edi
mov edx, dword [esp + 0xc]
add edx, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xffffffff
jne 0x41c747
jmp 0x41c7a1
xor edi, edi
mov ebx, dword [esp + 0x10]
sub ebx, edi
mov edi, dword [esp + 0x28]
mov eax, edi
shl eax, 0x15
sar eax, 0x1f
and eax, 0xfffffff4
add eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
add eax, dword [esi + 0x14]
sub eax, ebx
push ebx
push eax
push esi
call fcn.00430d40
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x41c7f6
and edi, 0x400
je 0x41c7f6
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
add eax, ecx
add eax, 0xfffffff4
push eax
push esi
call fcn.00413180
add esp, 8
lea edi, [esp + 0x80]
jmp 0x41c805
test ebx, ebx
lea edi, [esp + 0x80]
jne 0x41c6c5
push dword [ebp + 0xc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x110]
push dword [esp + 0x118]
push esi
call fcn.00431800
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41c6c5
mov eax, dword [esp + 0x5c]
lea eax, [eax + eax*2]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
mov ecx, dword [esp + 0x100]
lea ecx, [ecx + ecx*2]
xor ebx, ebx
cmp eax, dword [edx + ecx*4]
sete bl
mov esi, dword [esp + 0x78]
shl esi, 5
add ebx, eax
lea ecx, [esp + 0x68]
mov eax, dword [esi + ecx + 8]
movzx eax, word [eax + 2]
mov dword [esp + 0xc], eax
lea eax, [eax*8]
add eax, dword [esi + ecx + 0xc]
mov edi, dword [esi + ecx + 0x10]
lea ecx, [edi + 8]
sub eax, ecx
lea edx, [edi + 0x10]
push eax
push ecx
push edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
lea edi, [esp + 0x80]
mov edx, dword [esp + 0xc]
add edx, 1
lea ecx, [esp + 0x68]
mov eax, dword [esi + ecx + 8]
mov word [eax + 2], dx
push dword [ebp + 0xc]
push 0
push dword [esi + ecx - 8]
push dword [esi + ecx + 4]
push dword [esi + ecx]
push dword [ebp + 8]
call fcn.00431800
add esp, 0x18
mov ebx, eax
jmp 0x41c6c5
mov ebx, eax
jmp 0x41beb1
mov eax, dword [esp + 0x78]
jmp 0x41bf03
mov ebx, 0x7f2bb746
jmp 0x41beb1
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x130], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], 0
lea eax, [esp + 0x110]
push eax
push 0x41c9f0
push 0
push 1
push ecx
push edi
call fcn.00430da0
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41bae2
mov ebx, dword [esp + 0x12c]
test ebx, ebx
jne 0x41bae2
xor eax, eax
cmp dword [esp + 0x124], 0
mov ebx, 0x7f2bb726
cmovne ebx, eax
jmp 0x41bae2
mov ebx, 0x7f2bb746
jmp 0x41bae2
mov ebx, 0x7f2bb746
jmp 0x41c9be
mov ebx, eax
lea edi, [esp + 0x80]
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x41c9be
xor esi, esi
mov eax, dword [edi]
test eax, eax
je 0x41c9be
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [edi], 0
add esi, 1
add edi, 0x20
cmp esi, dword [esp + 0x78]
jl 0x41c99d
push dword [esp + 0x20]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x41bae2
lea edi, [esp + 0x80]
test eax, eax
jg 0x41c99b
jmp 0x41c9be
mov ebx, 0x7f2bb726
jmp 0x41c98c