Function at 0x41aee0
Capabilities:
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 0x41af82
mov ebx, 0x7f2bb715
test byte [edi + 8], 1
je 0x41af82
lea eax, [esp + 0x140]
push eax
push dword [ebp + 0xc]
push edi
call fcn.0041a460
add esp, 0xc
mov ebx, eax
test eax, eax
je 0x41af8c
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 0x41afcc
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], eax
test eax, eax
je 0x41bd47
push eax
mov esi, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov edx, esi
add esp, 4
jmp 0x41bd49
xorps xmm0, xmm0
movups xmmword [esp + 0xe0], 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
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 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 + 0x18], eax
test eax, eax
je 0x41bdd6
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x78], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x5c], 0
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x41bde0
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
jmp 0x41b0a9
inc dword [esp + 0x58]
mov dword [esp + 0x88], 0
mov esi, dword [esp + 0x160]
mov dword [esp + 0x5c], 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 0x41bde0
mov dword [esp + 0x90], edi
mov dword [esp + 0x88], 1
mov dword [esp + 0x30], 0
sub esp, 0x24
lea eax, [esp + 0xbc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x54]
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.00433670
add esp, 0x24
mov ebx, eax
test eax, eax
jne 0x41b353
mov ebx, 0x7f2bb723
test byte [esp + 0x30], 1
jne 0x41b353
push dword [ebp + 0xc]
push 0
push edi
push dword [esp + 0xa8]
push dword [esp + 0xa8]
mov edi, dword [ebp + 8]
push edi
call fcn.0042eee0
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41b353
mov edi, dword [esp + 0x90]
movzx eax, byte [edi + 0x1c]
mov ebx, 0x7f2bb759
cmp eax, 2
ja 0x41b353
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
xor edx, edx
test byte [ecx + 0x61], 0x40
movzx ebx, byte [edi + 0x1e]
sete dl
xor edx, 3
cmp edx, ebx
jbe 0x41b34e
and esi, 0x40000000
lea edx, [eax + 3]
test byte [ecx + 0x160], 2
cmove edx, eax
mov dword [esp + 0x80], edx
add ecx, 0xec
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x88]
push eax
push ecx
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0xc4]
push dword [esp + 0x90]
push dword [esp + 0x90]
push edx
call fcn.00434d80
add esp, 0x20
mov ebx, eax
test eax, eax
jne 0x41b353
mov ecx, edi
mov edi, esi
mov dword [esp + 0x14], ecx
xor eax, eax
jmp 0x41b205
add eax, 0xfffffff8
mov ecx, dword [esp + 8]
mov dword [esp + ecx + 0xa8], eax
mov edx, dword [esp + 0x1c]
lea eax, [edx + 1]
movzx ecx, byte [ebx + 0x1e]
cmp edx, ecx
mov edi, dword [ebp + 8]
jae 0x41bd31
mov ecx, eax
shl ecx, 5
lea edx, [esp + ecx]
add edx, 0x90
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 8], ecx
je 0x41b2cb
mov dword [esp + 0x10], edx
push dword [edi + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x41bd3d
mov esi, eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov dword [eax], esi
inc dword [esp + 0x88]
mov edi, dword [esp + 8]
mov eax, dword [esp + edi + 0x88]
mov eax, dword [eax + 4]
mov edx, 0xfffffff
and eax, edx
add edi, esp
add edi, 0x98
mov dword [esp + 0x30], 0
push edi
lea edx, [esp + 0x34]
push edx
push 0
push eax
push 0
push 0
lea eax, [esp + 0x158]
push eax
push dword [ebp + 0xc]
push ecx
call fcn.00433670
add esp, 0x24
test eax, eax
jne 0x41bd2a
test byte [esp + 0x30], 1
jne 0x41b34e
push dword [ebp + 0xc]
push 0
push esi
push dword [edi + 4]
push dword [edi]
mov edi, dword [ebp + 8]
push edi
call fcn.0042eee0
add esp, 0x18
test eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
jne 0x41bd2a
lea esi, [esp + ecx]
add esi, 0xa0
push 0
push esi
push dword [edx]
push edi
mov edi, ecx
call fcn.004125e0
add esp, 0x10
test eax, eax
jne 0x41bd2a
mov edx, dword [esi]
movzx esi, word [edx + 2]
movzx eax, word [edx]
mov dword [esp + edi + 0xa4], edx
test esi, esi
je 0x41b34e
cmp si, ax
mov ebx, dword [esp + 0x14]
ja 0x41b34e
lea eax, [edx + 8]
cmp si, 2
jb 0x41b1e1
mov ecx, dword [esp + 0x84]
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 0x41b323
jmp 0x41b1e1
mov ebx, 0x7f2bb723
cmp dword [esp + 0x88], 0
je 0x41be1f
xor esi, esi
lea edi, [esp + 0x90]
nop word [eax + eax]
mov eax, dword [edi]
test eax, eax
je 0x41b392
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [edi], 0
inc esi
add edi, 0x20
cmp esi, dword [esp + 0x88]
jb 0x41b370
mov dword [esp + 0x88], 0
xor eax, eax
test ebx, ebx
jne 0x41be1f
shl eax, 5
lea ecx, [esp + 0x78]
mov eax, dword [eax + ecx + 0x10]
mov esi, dword [eax + 4]
mov eax, 0xfffffff
and esi, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
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.00433670
add esp, 0x24
mov ebx, eax
test eax, eax
jne 0x41b4f1
mov ebx, 0x7f2bb723
test byte [esp + 0x30], 1
jne 0x41b4f1
push dword [ebp + 0xc]
push 0
push dword [esp + 0x20]
push dword [esp + 0x38]
push dword [esp + 0x38]
push edi
call fcn.0042eee0
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41b4f1
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0x41be40
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], edi
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
sub esp, 0x20
lea eax, [esp + 0x7c]
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], esi
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0042e6a0
add esp, 0x20
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x41b4f1
mov ebx, dword [esp + 0x4c]
test ebx, ebx
jne 0x41b4f1
cmp dword [esp + 0x44], 0
mov ebx, 0
mov eax, 0x7f2bb726
cmove ebx, eax
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x58], eax
jae 0x41bdf0
cmp ebx, 0x7f2bb726
jne 0x41bdf0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x1c], ecx
movzx edx, byte [ecx + 0x65]
and dl, 4
shr dl, 2
movzx edx, dl
lea ecx, [edx*8 + 8]
mov dword [esp + 0x24], ecx
lea esi, [eax - 1]
cmp esi, 0xffffffff
mov ecx, 0xffffffff
cmovge esi, ecx
mov edx, eax
shl edx, 5
lea ecx, [esp + 0x80]
add edx, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x1ac]
mov dword [esp + 0x20], esi
lea ecx, [esi + 1]
mov dword [esp + 8], ecx
mov edi, eax
nop
dec edi
js 0x41b5ae
mov esi, dword [edx]
movzx ecx, word [esi + 2]
add edx, 0xffffffe0
cmp cx, word [esi]
jae 0x41b590
lea eax, [edi + 1]
mov dword [esp + 8], eax
mov dword [esp + 0x20], edi
jmp 0x41b5c6
xor ecx, ecx
mov edx, dword [esp + 0x1c]
test byte [edx + 0x61], 0x40
sete cl
xor ecx, 3
cmp eax, ecx
jae 0x41be30
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], eax
push 0
push eax
mov esi, ebx
push ebx
mov ebx, dword [esp + 0x20]
push ebx
call fcn.00431fb0
add esp, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
add ebx, dword [esp + 0xc]
adc esi, 0
push esi
push ebx
lea esi, [esp + 0x148]
push esi
push dword [ebp + 8]
call fcn.004120c0
add esp, 0x10
test eax, eax
jne 0x41bde7
push 0
push 1
push dword [esp + 0x18]
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.00434e50
add esp, 0x28
test eax, eax
jne 0x41bde7
lea eax, [esp + 0x140]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0041a7a0
add esp, 0xc
test eax, eax
jne 0x41bde7
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x28]
push 0
push 0
lea eax, [esp + 0x158]
push eax
push dword [ebp + 0xc]
push esi
call fcn.00433670
add esp, 0x24
test eax, eax
jne 0x41bde7
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x88]
jne 0x41b7ca
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x160]
mov eax, 0x40000000
and ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x5c], 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 + 0xc], eax
test eax, eax
je 0x41bb44
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 0x41b97c
test esi, esi
mov dword [esp + 0x14], eax
je 0x41b985
mov dword [esp + 8], 0
xor esi, esi
jmp 0x41b73c
inc dword [esp + 8]
mov edi, dword [ebp + 8]
add esi, dword [esp + 0x5c]
cmp esi, dword [edi + 0x14]
jae 0x41b9a5
mov eax, edi
mov ecx, dword [esp + 0x18]
lea edi, [ecx + esi]
lea ecx, [esp + 0x5c]
push ecx
push edi
push eax
call fcn.0042e510
add esp, 0xc
test eax, eax
jne 0x41b7bf
movzx eax, byte [edi + 6]
test eax, eax
je 0x41b72c
cmp dword [edi], 0
je 0x41b72c
mov ecx, dword [esp + 8]
lea ecx, [ecx + ecx*2]
mov ebx, dword [esp + 0x14]
mov dword [ebx + ecx*4 + 8], esi
mov edx, dword [esp + 0x5c]
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 + 0x1c]
mov ecx, dword [ebp + 8]
push dword [ecx + 0xc4]
push eax
push edi
push dword [esp + 0x9c]
call fcn.00434d80
add esp, 0x20
test eax, eax
je 0x41b728
mov ebx, eax
mov edi, dword [esp + 0xc]
jmp 0x41bb2f
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov word [eax + 6], 0
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
push eax
call fcn.0042e550
add esp, 0xc
test eax, eax
jne 0x41bde7
mov ecx, dword [esp + 8]
shl ecx, 5
mov ebx, dword [esp + ecx + 0xa0]
movzx esi, word [ebx + 2]
test edi, edi
mov dword [esp + 8], ecx
js 0x41b8dd
mov edi, esi
shr edi, 1
sub esi, edi
mov eax, dword [esp + ecx + 0xa4]
lea ecx, [eax + edi*8]
mov eax, dword [eax + edi*8]
mov dword [esp + 0x10], eax
lea eax, [esi*8]
push eax
push ecx
push dword [esp + 0x5c]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x18]
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 + 0x20]
shl ebx, 5
mov eax, dword [esp + ebx + 0xa0]
movzx esi, word [eax + 2]
lea eax, [esi*8]
add eax, dword [esp + ebx + 0xa4]
mov edi, dword [esp + ebx + 0xa8]
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 + 0x10]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov edi, dword [ebp + 8]
inc esi
mov eax, dword [esp + ebx + 0xa0]
mov word [eax + 2], si
mov esi, dword [ebp + 0xc]
push esi
push 0
push dword [esp + ebx + 0x98]
push dword [esp + ebx + 0xa8]
push dword [esp + ebx + 0xa8]
push edi
call fcn.0042f020
add esp, 0x18
test eax, eax
je 0x41b92d
jmp 0x41bde7
shl esi, 3
push esi
push dword [esp + 0xa8]
mov esi, dword [esp + 0x5c]
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 + 0xa0]
mov word [eax + 2], 1
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x90]
inc byte [eax + 0x1e]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
lea eax, [esp + ecx]
add eax, 0x90
push esi
push 0
push dword [eax]
push dword [esp + ecx + 0xa8]
push dword [esp + ecx + 0xa8]
push edi
call fcn.0042f020
add esp, 0x18
test eax, eax
jne 0x41bde7
push esi
push 0
push dword [esp + 0x20]
push dword [esp + 0x40]
push dword [esp + 0x40]
push edi
call fcn.0042f020
add esp, 0x18
mov ebx, eax
jmp 0x41bb44
push dword [esp + 0xc]
jmp 0x41bb3c
push 0x41bfe0
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 0x41ba2b
push 0x41bfe0
push 0xc
mov esi, dword [esp + 0x10]
push esi
push dword [esp + 0x20]
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
add esp, 0x10
lea ebx, [esi - 1]
test esi, esi
jle 0x41b9e5
mov eax, dword [edi + 0x14]
shr eax, 1
lea ecx, [ebx + ebx*2]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + ecx*4 + 4]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
cmp edx, eax
jbe 0x41b9e9
mov esi, dword [esp + 8]
mov edx, esi
jmp 0x41ba2b
mov edi, dword [esp + 8]
lea edx, [edi + edi*2]
lea esi, [esi + edx*4]
add esi, 0xffffffec
mov edx, edi
xor edi, edi
dec edx
test edx, edx
jle 0x41ba1d
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 0x41b9fa
lea ebx, [edx - 1]
mov edi, dword [ebp + 8]
jmp 0x41ba27
mov ebx, 0xffffffff
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, dword [esp + 8]
mov dword [esp + 0xf8], ebx
lea ecx, [edx + edx*2]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x64]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x20], edx
sub esi, edx
mov dword [esp + 0xf4], ecx
jle 0x41bab0
mov dword [esp + 8], esi
mov eax, dword [esp + 0x14]
lea eax, [eax + ecx*4]
add eax, 8
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
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.0042e550
add esp, 0xc
test eax, eax
jne 0x41b7bf
mov ebx, edi
add ebx, esi
mov eax, dword [esp + 0x10]
add eax, 0xc
dec dword [esp + 8]
jne 0x41ba63
jmp 0x41bab6
xor esi, esi
mov ebx, dword [esp + 0xc]
sub ebx, esi
mov edi, dword [esp + 0xfc]
mov eax, edi
shl eax, 0x15
sar eax, 0x1f
and eax, 0xfffffff4
add eax, dword [esp + 0xc]
mov esi, dword [ebp + 8]
add eax, dword [esi + 0x14]
sub eax, ebx
push ebx
push eax
push esi
call fcn.0042e550
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x41bb07
and edi, 0x400
je 0x41bb07
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0xc]
add eax, edi
add eax, 0xfffffff4
push eax
push esi
call fcn.00412660
add esp, 8
jmp 0x41bb0f
test ebx, ebx
mov edi, dword [esp + 0xc]
jne 0x41bb2f
push dword [ebp + 0xc]
push 0
push edi
push dword [esp + 0x10c]
push dword [esp + 0x34]
push esi
call fcn.0042f020
add esp, 0x18
mov ebx, eax
test eax, eax
je 0x41bb9b
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
push dword [esp + 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test ebx, ebx
jne 0x41bde9
cmp dword [esp + 0x88], 0
je 0x41b073
xor esi, esi
lea edi, [esp + 0x90]
nop word cs:[eax + eax]
mov eax, dword [edi]
test eax, eax
je 0x41b073
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [edi], 0
inc esi
add edi, 0x20
cmp esi, dword [esp + 0x88]
jb 0x41bb70
jmp 0x41b073
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x41bc0a
mov eax, edi
mov ecx, dword [esp + 0x14]
add ecx, 8
mov ebx, edi
mov dword [esp + 0x20], edx
mov dword [esp + 8], ecx
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
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.0042e550
add esp, 0xc
test eax, eax
jne 0x41b7bf
mov ebx, edi
add ebx, esi
mov ecx, dword [esp + 8]
add ecx, 0xc
mov edx, dword [esp + 0x20]
dec edx
jne 0x41bbb8
jmp 0x41bc0e
xor esi, esi
mov ebx, edi
sub ebx, esi
mov eax, dword [esp + 0x10]
shl eax, 0x15
sar eax, 0x1f
and eax, 0xfffffff4
mov edi, dword [esp + 0xc]
add eax, edi
mov esi, dword [ebp + 8]
add eax, dword [esi + 0x14]
sub eax, ebx
push ebx
push eax
push esi
call fcn.0042e550
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x41bc5a
and dword [esp + 0x10], 0x400
je 0x41bc5a
mov eax, dword [esi + 0x14]
add eax, edi
add eax, 0xfffffff4
push eax
push esi
call fcn.00412660
add esp, 8
jmp 0x41bc62
test ebx, ebx
jne 0x41bb2f
push dword [ebp + 0xc]
push 0
push edi
push dword [esp + 0x110]
push dword [esp + 0x118]
push esi
call fcn.0042f020
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41bb2f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xf4]
lea eax, [edx + eax*4]
mov eax, dword [eax]
mov ecx, dword [esp + 0xf8]
lea ecx, [ecx + ecx*2]
xor ebx, ebx
cmp eax, dword [edx + ecx*4]
sete bl
mov esi, dword [esp + 0x88]
shl esi, 5
add ebx, eax
lea ecx, [esp + 0x78]
mov eax, dword [esi + ecx + 8]
movzx eax, word [eax + 2]
mov dword [esp + 8], 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
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 8]
inc edx
lea ecx, [esp + 0x78]
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.0042f020
add esp, 0x18
mov ebx, eax
jmp 0x41bb2f
mov ebx, eax
jmp 0x41b353
mov eax, dword [esp + 0x88]
jmp 0x41b3a7
mov ebx, 0x7f2bb746
jmp 0x41b353
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 0x41be40
push 0
push 1
push ecx
push edi
call fcn.0042e5b0
add esp, 0x18
mov ebx, eax
test eax, eax
jne 0x41af82
mov ebx, dword [esp + 0x12c]
test ebx, ebx
jne 0x41af82
xor eax, eax
cmp dword [esp + 0x124], 0
mov ebx, 0x7f2bb726
cmovne ebx, eax
jmp 0x41af82
mov ebx, 0x7f2bb746
jmp 0x41af82
mov ebx, 0x7f2bb746
jmp 0x41be1f
mov ebx, eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41be1f
xor esi, esi
lea edi, [esp + 0x90]
mov eax, dword [edi]
test eax, eax
je 0x41be1f
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov dword [edi], 0
inc esi
add edi, 0x20
cmp esi, dword [esp + 0x88]
jb 0x41bdfd
push dword [esp + 0x18]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x41af82
mov ebx, 0x7f2bb726
jmp 0x41bde9