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

Disassembly:
jmp 0x906a90
mov eax, dword [esp + 4]
cmp dword [eax], 0xf265
mov ecx, dword [eax + 0xc]
jne 0x906ad4
cmp dword [ecx], 0xd245
jne 0x906ad4
test byte [ecx + 0x28], 4
jne 0x906ad4
mov eax, dword [esp + 0x14]
and eax, 7
cmp dword [ecx + 0x1c], 0x20
jg 0x906ac7
mov dword [esp + 0x14], eax
mov dword [esp + 4], ecx
jmp 0x9085b0
mov dword [esp + 0x14], eax
mov dword [esp + 4], ecx
jmp 0x906af0
mov eax, 2
ret
sub esp, 0x58
mov edx, dword [esp + 0x5c]
mov eax, 0
push ebx
push ebp
push esi
mov ebx, dword [edx + 0x24]
push edi
mov edi, dword [edx + 0x20]
inc edi
mov dword [esp + 0x2c], ebx
test byte [edx + 0x18], 4
mov dword [esp + 0x28], edi
cmove eax, dword [esp + 0x74]
test byte [esp + 0x7c], 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
je 0x906b38
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
add esi, eax
mov dword [esp + 0x24], esi
jmp 0x906b52
mov ecx, eax
mov dword [esp + 0x24], eax
mov esi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x906b43
sub ecx, edx
mov eax, esi
mov edx, dword [esp + 0x6c]
lea ebp, [ecx + eax]
cmp ebp, esi
jae 0x906b66
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0x58
ret
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x906c2d
mov eax, esi
mov dword [esp + 0x20], eax
cmp esi, ebp
jae 0x906c21
mov eax, ecx
mov edi, ebp
sub edi, esi
mov dword [esp + 0x14], edi
mov edi, esi
mov ecx, dword [esp + 0x14]
mov bl, byte [eax]
cmp byte [edi], bl
jne 0x906bff
mov ecx, dword [edx + 0x40]
cmp dword [esp + 0x14], ecx
jl 0x906bfb
mov edx, edi
mov esi, eax
sub ecx, 4
jb 0x906bc1
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x906bc6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x906bb0
cmp ecx, 0xfffffffc
je 0x906c09
mov al, byte [edx]
cmp al, byte [esi]
jne 0x906bf3
cmp ecx, 0xfffffffd
je 0x906c09
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x906bf3
cmp ecx, 0xfffffffe
je 0x906c09
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x906bf3
cmp ecx, 0xffffffff
je 0x906c09
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x906c09
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
inc edi
dec ecx
mov dword [esp + 0x14], ecx
cmp edi, ebp
jb 0x906b95
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x906eb3
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
mov eax, dword [edx + 0x1c]
shl eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [esp + 0x54], esi
test esi, esi
je 0x906ed3
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov eax, dword [edx + 0x1c]
add eax, esi
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x1c]
lea eax, [esi + eax*2]
mov dword [esp + 0x60], eax
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x50], 4
lea eax, [esi + ecx*2]
add eax, ecx
mov dword [esp + 0x64], eax
push dword [edx + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
push edi
push ebp
push dword [esp + 0x3c]
lea eax, [esp + 0x4c]
push eax
call fcn.009066d0
add esp, 0x20
test eax, eax
je 0x906e98
nop dword [eax]
cmp dword [esp + 0x18], 0
jne 0x906ce5
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x48], 0
je 0x906f51
push ebx
push edi
push ebp
push dword [esp + 0x54]
lea eax, [esp + 0x40]
push eax
call fcn.009070b0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x906d20
nop
mov eax, dword [esp + 0x48]
push ebx
push edi
inc eax
push ebp
push eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
push eax
call fcn.009070b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x906d00
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x906d37
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x48], 0
je 0x906ec0
cmp dword [esp + 0x38], 0
jne 0x906d62
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x44]
lea eax, [eax*8 + 8]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
je 0x906ec6
mov eax, dword [esp + 0x30]
mov ecx, 1
cmp dword [eax + 0x44], ecx
jb 0x906d91
mov eax, dword [esp + 0x38]
mov dword [eax + ecx*8 + 4], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [eax + ecx*8], 0xffffffff
inc ecx
mov eax, dword [esp + 0x30]
cmp ecx, dword [eax + 0x44]
jbe 0x906d70
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x48], 0
jne 0x906dbb
test dword [esp + 0x34], 0x400
jne 0x906dbb
push ebx
push edi
push esi
push dword [esp + 0x54]
lea eax, [esp + 0x40]
push eax
call fcn.00906260
add esp, 0x14
jmp 0x906e0a
mov ecx, dword [eax + 0x4c]
mov eax, dword [esp + 0x4c]
test ecx, ecx
jle 0x906df2
test eax, eax
jne 0x906df2
lea eax, [ecx*4 + 4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x70]
add esp, 4
mov dword [esp + 0x4c], eax
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
jle 0x906df2
test eax, eax
je 0x906ee0
push 0
push 0
push ebx
push edi
push esi
push dword [esp + 0x5c]
lea eax, [esp + 0x48]
push eax
call fcn.00905b80
add esp, 0x1c
test eax, eax
jne 0x906e4c
nop
mov ecx, dword [esp + 0x48]
cmp esi, ecx
jbe 0x906e78
push ebx
push edi
dec esi
lea eax, [esp + 0x38]
push esi
push ecx
push eax
call fcn.009070b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x906e74
push 0
push 0
push ebx
push edi
push esi
push dword [esp + 0x5c]
lea eax, [esp + 0x48]
push eax
call fcn.00905b80
add esp, 0x1c
test eax, eax
je 0x906e10
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x906f02
mov edi, dword [esp + 0x78]
mov eax, edi
sub ecx, dword [esp + 0x3c]
sub esi, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax + 4], esi
jmp 0x906f06
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
je 0x906e50
push ebx
push edi
lea eax, [ecx + 1]
push ebp
push eax
lea eax, [esp + 0x40]
push eax
call fcn.009066d0
add esp, 0x14
test eax, eax
jne 0x906cd0
push dword [esp + 0x38]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push dword [esp + 0x50]
call esi
push dword [esp + 0x5c]
call esi
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x48]
jmp 0x906e5c
push dword [esp + 0x54]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x58
ret
push dword [esp + 0x38]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push dword [esp + 0x58]
call esi
add esp, 8
mov eax, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x78]
cmp edx, 1
jbe 0x906f51
mov ebx, dword [esp + 0x38]
lea edx, [eax + 8]
mov ebp, dword [esp + 0x30]
mov edi, ebx
sub edi, eax
mov esi, 1
mov eax, dword [esp + 0x18]
cmp esi, dword [ebp + 0x44]
ja 0x906f3a
mov eax, dword [edi + edx]
mov ecx, dword [edi + edx + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
jmp 0x906f47
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
inc esi
add edx, 8
cmp esi, eax
jb 0x906f23
jmp 0x906f55
mov ebx, dword [esp + 0x38]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
je 0x906f65
push ebx
call esi
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x906f73
push eax
call esi
add esp, 4
push dword [esp + 0x54]
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
mov eax, 0
push edi
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
inc edi
test byte [esi + 0x18], 4
mov dword [esp + 0x28], edi
cmove eax, dword [esp + 0x6c]
test byte [esp + 0x74], 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
je 0x9085f4
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
add edx, eax
mov dword [esp + 0x24], edx
jmp 0x90860f
mov ecx, eax
mov dword [esp + 0x24], eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x908600
sub ecx, edx
mov edx, dword [esp + 0x24]
mov eax, edx
lea ebp, [ecx + eax]
cmp ebp, edx
jae 0x908623
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0x50
ret
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x9086f3
mov eax, edx
mov dword [esp + 0x20], eax
cmp edx, ebp
jae 0x9086e7
mov eax, ecx
mov edi, ebp
sub edi, edx
mov dword [esp + 0x14], edi
mov edi, edx
mov cl, byte [eax]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x13]
nop word [eax + eax]
cmp byte [edi], dl
jne 0x9086c9
mov ecx, dword [esi + 0x40]
cmp dword [esp + 0x14], ecx
jl 0x9086c5
mov edx, edi
mov esi, eax
sub ecx, 4
jb 0x908687
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x90868c
add edx, 4
add esi, 4
sub ecx, 4
jae 0x908676
cmp ecx, 0xfffffffc
je 0x9086d3
mov al, byte [edx]
cmp al, byte [esi]
jne 0x9086b9
cmp ecx, 0xfffffffd
je 0x9086d3
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x9086b9
cmp ecx, 0xfffffffe
je 0x9086d3
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x9086b9
cmp ecx, 0xffffffff
je 0x9086d3
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x9086d3
mov dl, byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
inc edi
dec ecx
mov dword [esp + 0x14], ecx
cmp edi, ebp
jb 0x908660
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x9089bf
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
xorps xmm0, xmm0
push ebx
push edi
push ebp
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push edx
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebp
movups xmmword [esp + 0x64], xmm0
call fcn.009082d0
add esp, 0x14
test eax, eax
je 0x9089aa
nop dword [eax]
cmp dword [esp + 0x18], 0
jne 0x908751
cmp dword [esi + 0x48], 0
je 0x90897e
push ebx
push edi
push ebp
push dword [esp + 0x50]
lea eax, [esp + 0x3c]
push eax
call fcn.00908ae0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x908790
nop dword [eax + eax]
mov eax, dword [esp + 0x44]
push ebx
push edi
inc eax
push ebp
push eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00908ae0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x908770
mov edx, dword [esp + 0x18]
cmp edx, 1
jne 0x9087a7
mov ecx, dword [esp + 0x64]
cmp dword [ecx + 0x48], 0
je 0x90890a
cmp dword [esp + 0x34], 0
jne 0x9087d2
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x44]
lea eax, [eax*8 + 8]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x90891d
mov eax, dword [esp + 0x2c]
mov ecx, 1
cmp dword [eax + 0x44], ecx
jb 0x908801
mov eax, dword [esp + 0x34]
mov dword [eax + ecx*8 + 4], 0xffffffff
mov eax, dword [esp + 0x34]
mov dword [eax + ecx*8], 0xffffffff
inc ecx
mov eax, dword [esp + 0x2c]
cmp ecx, dword [eax + 0x44]
jbe 0x9087e0
mov eax, dword [esp + 0x64]
cmp dword [eax + 0x48], 0
jne 0x90882b
test dword [esp + 0x30], 0x400
jne 0x90882b
push ebx
push edi
push esi
push dword [esp + 0x50]
lea eax, [esp + 0x3c]
push eax
call fcn.00907e60
add esp, 0x14
jmp 0x90887a
mov ecx, dword [eax + 0x4c]
mov eax, dword [esp + 0x48]
test ecx, ecx
jle 0x908862
test eax, eax
jne 0x908862
lea eax, [ecx*4 + 4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x68]
add esp, 4
mov dword [esp + 0x48], eax
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
jle 0x908862
test eax, eax
je 0x908910
push 0
push 0
push ebx
push edi
push esi
push dword [esp + 0x58]
lea eax, [esp + 0x44]
push eax
call fcn.00907780
add esp, 0x1c
test eax, eax
jne 0x9088bc
nop
mov ecx, dword [esp + 0x44]
cmp esi, ecx
jbe 0x9088e1
push ebx
push edi
dec esi
lea eax, [esp + 0x34]
push esi
push ecx
push eax
call fcn.00908ae0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9088dd
push 0
push 0
push ebx
push edi
push esi
push dword [esp + 0x58]
lea eax, [esp + 0x44]
push eax
call fcn.00907780
add esp, 0x1c
test eax, eax
je 0x908880
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x90892a
mov edi, dword [esp + 0x70]
mov eax, edi
sub ecx, dword [esp + 0x38]
sub esi, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [eax + 4], esi
jmp 0x90892e
mov ecx, dword [esp + 0x44]
cmp ecx, ebp
je 0x9088c0
push ebx
push edi
lea eax, [ecx + 1]
push ebp
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.009082d0
add esp, 0x14
test eax, eax
je 0x9089aa
mov esi, dword [esp + 0x64]
jmp 0x908740
mov ecx, dword [esp + 0x44]
jmp 0x9088c8
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x70]
cmp edx, 1
jbe 0x90897e
mov ebx, dword [esp + 0x34]
lea edx, [eax + 8]
mov ebp, dword [esp + 0x2c]
mov edi, ebx
sub edi, eax
mov esi, 1
mov eax, dword [esp + 0x18]
nop dword [eax + eax]
cmp esi, dword [ebp + 0x44]
ja 0x908967
mov eax, dword [edi + edx]
mov ecx, dword [edi + edx + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
jmp 0x908974
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
inc esi
add edx, 8
cmp esi, eax
jb 0x908950
jmp 0x908982
mov ebx, dword [esp + 0x34]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
je 0x908992
push ebx
call esi
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x9089a0
push eax
call esi
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
push dword [esp + 0x34]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push dword [esp + 0x4c]
call esi
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret