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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, dword [edx + 0x18]
mov esi, edx
mov edi, ecx
cmp eax, 6
jne 0x10004286
mov eax, dword [ebp + 8]
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], esi
mov eax, dword [eax]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
je 0x100049ca
add ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov word [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
adc ebx, 0
mov edx, dword [ecx]
lea ecx, [esp + 8]
push 0
push 6
lea eax, [esp + 8]
push eax
mov dword [esp + 0x4c], ebx
push ebx
push dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call fcn.10036650
add esp, 0x1c
mov eax, dword [esp + 8]
test eax, eax
je 0x1000429d
movq xmm0, qword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
jmp 0x1000433a
mov ecx, dword [esi + 0x24]
movq xmm0, qword [esi + 0x1c]
mov dword [esp + 0x10], ecx
movq qword [esp + 8], xmm0
jmp 0x10004ada
cmp dword [esp + 0xc], 6
jne 0x100042b9
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
jmp 0x1000433a
xor ecx, ecx
lea edx, [0x3fa5bc9]
lea edi, [0x3fa5bca]
mov eax, 0xfffffff9
xor esi, esi
nop
movzx ebx, byte [edx]
mov edx, edi
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x100042f5
or bl, 0x20
mov bh, bl
add bh, 0x9f
cmp bh, 6
jae 0x10004b21
add bl, 0xa9
mov bh, bl
mov edi, ecx
movzx ebx, bh
shl edi, 4
or ebx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x10004314
shld esi, ecx, 4
inc eax
test edx, edx
mov ecx, ebx
jne 0x100042d0
movdqa xmm0, xmmword [0x3f9e010]
xor ebx, 0x91
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xc76970a8
movd xmm1, ebx
punpckldq xmm0, xmm1
xor ebx, ebx
lea eax, [0x3fa5e75]
lea edi, [0x3fa5e76]
mov ecx, 0xfffffff9
mov dword [esp + 0x50], 0
nop word cs:[eax + eax]
nop
movzx edx, byte [eax]
mov eax, edi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x10004385
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x10004b21
add dl, 0xa9
mov dh, dl
mov edi, ebx
movzx esi, dh
shl edi, 4
or esi, edi
lea edi, [eax + 1]
test ecx, ecx
cmove edi, eax
je 0x100043a6
shld dword [esp + 0x50], ebx, 4
inc ecx
test eax, eax
mov ebx, esi
jne 0x10004360
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10004450
mov edi, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [0x3fa8000]
movq qword [esp + 0xc], xmm0
pshufd xmm0, xmm0, 0x55
lea ecx, [esp + 0x78]
movd dword [esp + 0x68], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x6c], edi
push 4
push 8
push 0x3fa78d4
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x78], 0
je 0x1000442f
lea ecx, [esp + 0x68]
call fcn.10005440
xor eax, eax
movq xmm0, qword [esp + 8]
movd ecx, xmm0
test ecx, ecx
je 0x10004450
xor esi, 0x132
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x28], 1
jmp 0x100049da
movdqa xmm0, xmmword [esp + 0x50]
mov eax, dword [esp + 0x7c]
movd ecx, xmm0
mov dword [eax], ecx
mov dword [eax + 4], edi
movq xmm0, qword [esp + 8]
movd ecx, xmm0
test ecx, ecx
jne 0x1000440e
movzx eax, byte [esp]
cmp eax, 0x48
je 0x10004556
cmp eax, 0xe9
jne 0x100049ca
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x44]
lea ecx, [esp + 8]
mov dword [esp + 0x44], eax
push 5
push 0x3fa621c
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x50]
push dword [esp + 0x38]
call fcn.100624c0
add esp, 0x18
xor edi, edi
lea edx, [0x3fa5e75]
lea ebx, [0x3fa5e76]
mov eax, 0xfffffff9
mov dword [esp + 0x50], 0
nop dword [eax]
movzx ecx, byte [edx]
mov edx, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x100044d5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x10004b21
add cl, 0xa9
mov ch, cl
mov ebx, edi
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edx + 1]
test eax, eax
cmove ebx, edx
je 0x100044f6
shld dword [esp + 0x50], edi, 4
inc eax
test edx, edx
mov edi, esi
jne 0x100044b0
cmp dword [esp + 8], 0
je 0x100045c2
mov edi, dword [esp + 0x14]
movsd xmm0, qword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [0x3fa8000]
xor esi, 0x107
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], edi
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x6c], ebx
push 4
push 8
push 0x3fa78d4
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x78], 0
je 0x1000471e
lea ecx, [esp + 0x68]
call fcn.10005440
xor eax, eax
jmp 0x10004727
movzx eax, byte [esp + 1]
cmp eax, 0x83
je 0x100046d6
cmp eax, 0x89
jne 0x100049ca
movzx eax, byte [esp + 2]
cmp eax, 0x4c
je 0x10004748
cmp eax, 0x5c
jne 0x100049ca
cmp byte [esp + 3], 0x24
jne 0x100049ca
cmp byte [esp + 4], 8
jne 0x100049ca
cmp byte [esp + 5], 0x48
jne 0x100049ca
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push dword [ebp + 0xc]
push dword [esp + 0x44]
call fcn.100668a0
jmp 0x10004844
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x100049ca
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 8]
lea edx, [esp + 0x44]
mov dword [esp + 0x50], eax
add eax, 0x13a
mov dword [esp + 0x24], esi
adc esi, 0
push 4
push 0x3fa6294
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push eax
call fcn.100624c0
add esp, 0x18
xor edx, edx
lea ebx, [0x3fa5e75]
lea esi, [0x3fa5e76]
mov ecx, 0xfffffff9
xor edi, edi
nop word [eax + eax]
movzx eax, byte [ebx]
mov ebx, esi
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x10004643
or al, 0x20
mov ah, al
add ah, 0x9f
cmp ah, 6
jae 0x10004b21
add al, 0xa9
mov ah, al
mov esi, edx
movzx eax, ah
shl esi, 4
or eax, esi
lea esi, [ebx + 1]
test ecx, ecx
cmove esi, ebx
je 0x10004662
shld edi, edx, 4
inc ecx
test ebx, ebx
mov edx, eax
jne 0x10004620
cmp dword [esp + 8], 0
je 0x10004782
xor eax, 0x11c
movq xmm0, qword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x68]
push eax
call fcn.1002cd30
add esp, 4
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x2c], ecx
mov ecx, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ecx
jmp 0x100049da
cmp byte [esp + 2], 0xec
jne 0x100049ca
cmp byte [esp + 3], 0x28
jne 0x100049ca
movzx eax, byte [esp + 4]
cmp eax, 0x48
je 0x10004825
cmp eax, 0xe8
jne 0x100049ca
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push dword [ebp + 0xc]
push dword [esp + 0x44]
call fcn.10065e70
jmp 0x10004844
mov eax, dword [esp + 0x7c]
mov dword [eax], edi
mov dword [eax + 4], ebx
movdqa xmm0, xmmword [esp + 0x50]
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], 1
jmp 0x100049da
cmp byte [esp + 3], 0x24
jne 0x100049ca
cmp byte [esp + 4], 8
jne 0x100049ca
cmp byte [esp + 5], 0x48
jne 0x100049ca
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push dword [ebp + 0xc]
push dword [esp + 0x44]
call fcn.10066ea0
jmp 0x10004844
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x10004882
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 8]
lea edx, [esp + 0x44]
add eax, 0x2a9
adc esi, 0
push 4
push 0x3fa62f8
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push eax
call fcn.100624c0
add esp, 0x18
xor edx, edx
lea esi, [0x3fa5e75]
lea ebx, [0x3fa5e76]
mov ecx, 0xfffffff9
xor edi, edi
movzx eax, byte [esi]
mov esi, ebx
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x100047f5
or al, 0x20
mov ah, al
add ah, 0x9f
cmp ah, 6
jae 0x10004b21
add al, 0xa9
mov ah, al
mov ebx, edx
movzx eax, ah
shl ebx, 4
or eax, ebx
lea ebx, [esi + 1]
test ecx, ecx
cmove ebx, esi
je 0x10004814
shld edi, edx, 4
inc ecx
test esi, esi
mov edx, eax
jne 0x100047d2
cmp dword [esp + 8], 0
je 0x1000484c
xor eax, 0x120
jmp 0x10004672
cmp byte [esp + 5], 0x8b
jne 0x100049ca
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push dword [ebp + 0xc]
push dword [esp + 0x44]
call fcn.10066220
add esp, 8
jmp 0x100049da
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x10004882
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, 0x4bd
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
jmp 0x100049da
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
lea edx, [esp + 0x44]
add eax, 0x132
adc esi, 0
push 4
push 0x3fa6294
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push eax
call fcn.100624c0
add esp, 0x18
xor edx, edx
lea esi, [0x3fa5e75]
lea ebx, [0x3fa5e76]
mov ecx, 0xfffffff9
xor edi, edi
movzx eax, byte [esi]
mov esi, ebx
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x100048e7
or al, 0x20
mov ah, al
add ah, 0x9f
cmp ah, 5
ja 0x10004b21
add al, 0xa9
mov ah, al
mov ebx, edx
movzx eax, ah
shl ebx, 4
or eax, ebx
lea ebx, [esi + 1]
test ecx, ecx
cmove ebx, esi
je 0x10004906
shld edi, edx, 4
inc ecx
test esi, esi
mov edx, eax
jne 0x100048c4
cmp dword [esp + 8], 0
jne 0x1000466d
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x100049ca
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 8]
lea edx, [esp + 0x44]
add eax, 0x1f5
adc esi, 0
push 4
push 0x3fa62f8
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push eax
call fcn.100624c0
add esp, 0x18
xor edx, edx
lea esi, [0x3fa5e75]
lea ebx, [0x3fa5e76]
mov ecx, 0xfffffff9
xor edi, edi
movzx eax, byte [esi]
mov esi, ebx
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x10004984
or al, 0x20
mov ah, al
add ah, 0x9f
cmp ah, 5
ja 0x10004b21
add al, 0xa9
mov ah, al
mov ebx, edx
movzx eax, ah
shl ebx, 4
or eax, ebx
lea ebx, [esi + 1]
test ecx, ecx
cmove ebx, esi
je 0x100049a3
shld edi, edx, 4
inc ecx
test esi, esi
mov edx, eax
jne 0x10004961
cmp dword [esp + 8], 0
jne 0x1000481b
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
je 0x100049ca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, 0x4a7
jmp 0x10004863
mov dword [esp + 0x30], 5
mov dword [esp + 0x28], 0
xor edi, edi
lea edx, [0x3fa55e1]
lea ebx, [0x3fa55e2]
mov eax, 0xfffffff9
mov dword [esp + 0x50], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x10004a25
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x10004b21
add cl, 0xa9
mov ch, cl
mov ebx, edi
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edx + 1]
test eax, eax
cmove ebx, edx
je 0x10004a46
shld dword [esp + 0x50], edi, 4
inc eax
test edx, edx
mov edi, esi
jne 0x10004a00
cmp dword [esp + 0x28], 0
je 0x10004a98
mov edi, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov eax, dword [0x3fa8000]
xor esi, 0x27
lea ecx, [esp + 8]
mov dword [esp + 0x78], edi
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x7c], ebx
push 4
push 8
push 0x3fa78d4
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 8], 0
je 0x10004af3
lea ecx, [esp + 0x78]
call fcn.10005440
xor eax, eax
jmp 0x10004afc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
movq xmm0, qword [esp + 0x30]
mov edx, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
movq qword [edx + 0x18], xmm0
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [edx + 0x24]
movq xmm1, qword [edx + 0x1c]
mov dword [esp + 0x10], eax
movd eax, xmm0
movq qword [esp + 8], xmm1
cmp eax, 6
je 0x10004b3a
mov ecx, dword [esp + 0x10]
movsd xmm0, qword [esp + 8]
mov dword [edi + 0x14], ecx
movsd qword [edi + 0xc], xmm0
mov dword [edi + 8], eax
xor eax, eax
jmp 0x10004b17
mov eax, dword [esp + 0xc]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov edi, dword [esp + 0x94]
movaps xmm0, xmmword [esp + 0x50]
movlps qword [edi + 4], xmm0
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
mov eax, 1
mov dword [edi], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x3fa6484
mov edx, 0xe
push 0x3f9fdfc
call fcn.10007180
add esp, 4
ud2
mov ecx, 0x3fa7af8
mov edx, 0x2b
push 0x3f9eaac
call fcn.10007180
add esp, 4
ud2