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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
lea esi, [esp + 0x80]
lea edi, [esp + 0x28]
lea ebx, [esp + 0xb8]
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esi], 0x4b6818
mov dword [edi], 0x4b6878
mov dword [edi + 4], 2
mov dword [edi + 0x10], 0
mov dword [edi + 8], esi
mov dword [esi + 4], fcn.00443b90
mov dword [edi + 0xc], 1
push edi
push ebx
call fcn.004998a0
add esp, 8
push dword [ebx + 8]
push dword [ebx]
push edi
call fcn.0040fd85
add esp, 0xc
push dword [edi + 8]
push dword [edi]
push esi
call fcn.00405c35
add esp, 0xc
cmp dword [esi], 0
je 0x4037f6
mov eax, dword [esp + 0x88]
movq xmm0, qword [esp + 0x80]
mov dword [esp + 0x78], eax
movq qword [esp + 0x70], xmm0
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00414190
add esp, 4
push ebx
call fcn.004011c0
add esp, 4
push ebx
call fcn.00414190
add esp, 4
push 0
call fcn.00491d50
add esp, 4
test eax, eax
je 0x403813
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
xor esi, esi
mov ebx, dword [eax + 8]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 4]
mov edi, edx
add edi, 1
mov dword [eax], edi
mov edi, ecx
adc edi, esi
mov dword [eax + 4], edi
mov dword [esp + 0x80], 0x4b60b0
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], ebx
lea esi, [esp + 0x100]
mov dword [esp + 0x9c], ecx
push 9
push str..sha_sums
push dword [ebp + 8]
push dword [esp + 0xc]
push esi
call fcn.00459418
add esp, 0x14
push esi
call fcn.0041e2f0
add esp, 4
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00485d20
add esp, 0xc
mov eax, dword [esp + 0x28]
xor eax, 2
or eax, dword [esp + 0x2c]
jne 0x403246
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 2
jmp 0x403268
lea eax, [esp + 0xb8]
lea esi, [esp + 0x28]
mov ecx, 0x12
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
xor ecx, 2
or ecx, dword [eax + 4]
jne 0x4034f7
lea eax, [esp + 0xc0]
push eax
call fcn.00401301
add esp, 4
mov dword [esp + 0xc], 0
mov eax, dword [esp + 8]
mov bl, byte [ebp + 0xc]
lea ecx, [esp + 0x70]
mov edi, dword [eax]
mov esi, dword [eax + 4]
lea eax, [esp + 0x80]
mov edx, edi
push eax
push dword [ebp + 8]
push dword [esp + 8]
push esi
call fcn.004022c8
add esp, 0x10
push 3
push 0x4b68b4
push esi
push edi
call fcn.00448cbc
add esp, 0x10
test al, al
je 0x4032ce
push dword [ebp + 8]
push dword [esp + 4]
call fcn.00413d05
add esp, 8
mov edi, dword [esp]
test bl, bl
je 0x40330e
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x40330e
mov ecx, dword [esp + 8]
mov esi, dword [ecx + 0x20]
lea ebx, [esi + eax*8]
mov edx, dword [esi]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x70]
push eax
push dword [ebp + 8]
push edi
push dword [esi + 4]
call fcn.004022c8
add esp, 0x10
add esi, 8
cmp esi, ebx
jne 0x4032ea
mov ecx, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x40343f
mov ebx, dword [esp + 0x80]
movdqa xmm0, xmmword [ebx]
lea esi, [ebx + 0x10]
pmovmskb eax, xmm0
not eax
test ax, ax
mov dword [esp + 8], ecx
jne 0x403365
movdqa xmm0, xmmword [esi]
add ebx, 0xfffffe80
add esi, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x40334c
not eax
bsf ecx, eax
lea edx, [eax - 1]
lea edi, [esp + 0x28]
mov dword [esp + 0x28], 0x4b68cc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x38], 0
neg ecx
and edx, eax
lea ecx, [ecx + ecx*2]
mov dword [esp + 4], edx
lea eax, [ebx + ecx*8 - 0x18]
mov dword [esp + 0xa0], eax
lea eax, [ebx + ecx*8 - 0xc]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x110]
mov dword [esp + 0xb8], eax
mov eax, 0x418200
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
push edi
lea eax, [esp + 0x20]
push eax
call fcn.004998a0
add esp, 8
mov eax, dword [esp + 0x24]
movq xmm0, qword [esp + 0x1c]
mov dword [esp + 0x30], eax
movq qword [esp + 0x28], xmm0
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
call fcn.00448a45
add esp, 0xc
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00414190
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
dec ecx
jne 0x403343
push 9
push str..sha_sums
push dword [ebp + 8]
push dword [esp + 0xc]
lea edi, [esp + 0x38]
push edi
call fcn.00459418
add esp, 0x14
mov eax, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x10]
lea esi, [esp + 0x1c]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xb8]
movsd qword [esp + 0xb8], xmm0
push eax
push edi
push esi
call fcn.0040b948
add esp, 0xc
cmp byte [esi], 4
jne 0x40382b
cmp byte [esp + 0xc], 0
lea esi, [esp + 0x80]
jne 0x4034ba
lea edi, [esp + 0x100]
push edi
call fcn.004011c0
add esp, 4
push edi
call fcn.00414190
add esp, 4
push esi
call fcn.0040abac
add esp, 4
lea eax, [esp + 0x70]
push eax
call fcn.0040e500
add esp, 4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4034ef
lea ecx, [eax + eax*8]
lea ecx, [ecx + ecx*2]
add ecx, eax
push 4
push ecx
push dword [esp + 0x78]
call fcn.00414130
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov cl, byte [ebp + 0x10]
xor cl, 1
je 0x403278
movsd xmm0, qword [esp + 0x100]
movsd xmm1, qword [esp + 0x108]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x28]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push ecx
push eax
call fcn.0040b794
add esp, 8
cmp dword [esp + 0xb8], 0
je 0x403870
lea ebx, [esp + 0xb8]
mov edx, 0xa
lea esi, [esp + 0x40]
movq xmm0, qword [ebx]
mov eax, dword [ebx + 8]
mov dword [esi - 0x18], edx
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xa0]
mov dword [esi - 0x14], ecx
xor ecx, ecx
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], ecx
mov dword [esi - 8], eax
mov dword [esi - 4], 1
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov word [esi + 0xc], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, eax
sub edx, ecx
jb 0x403665
cmp eax, dword [esp + 0x30]
ja 0x403665
mov esi, dword [esp + 0x2c]
add ecx, esi
mov eax, dword [esp + 0x3c]
cmp edx, 8
mov al, byte [esp + eax + 0x3f]
jae 0x4035d6
test edx, edx
je 0x4035e6
xor edi, edi
cmp byte [ecx + edi], al
je 0x4035ec
inc edi
cmp edx, edi
jne 0x4035ca
jmp 0x4035e8
movzx eax, al
push edx
push ecx
push eax
call fcn.004a1450
add esp, 0xc
jmp 0x4035f1
xor edx, edx
xor eax, eax
jmp 0x4035f1
xor eax, eax
mov edx, edi
inc eax
cmp eax, 1
jne 0x40365d
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
lea ecx, [edx + ecx + 1]
mov edx, ecx
mov dword [esp + 0x34], ecx
sub edx, eax
jb 0x403643
add edx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x30]
mov edi, 0
cmova edx, edi
ja 0x403643
cmp eax, 5
jae 0x4037e7
push eax
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.00448cbc
add esp, 0x10
mov ecx, dword [esp + 0x34]
test al, al
jne 0x4037b8
mov eax, dword [esp + 0x38]
mov edx, eax
sub edx, ecx
jb 0x403665
add ecx, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jbe 0x4035b7
jmp 0x403665
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
cmp byte [esp + 0x4d], 0
jne 0x4037c9
mov byte [esp + 0x4d], 1
cmp byte [esp + 0x4c], 0
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
jne 0x40368c
cmp ecx, esi
je 0x4037c9
sub ecx, esi
add esi, dword [esp + 0x2c]
push ecx
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00418251
add esp, 0xc
test eax, eax
je 0x4037c9
mov ecx, eax
xor esi, esi
add ecx, edx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov ecx, ebx
mov dword [esp + 0xd0], esi
mov word [esp + 0xd4], 1
call fcn.004015d2
test eax, eax
je 0x403853
mov ecx, ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 4], edx
call fcn.004015d2
test eax, eax
je 0x40385a
mov esi, eax
mov ebx, edx
xor eax, eax
push eax
push edx
call fcn.00415b38
add esp, 8
mov edi, eax
mov dword [esp + 0xb0], edx
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], ebx
push eax
mov ebx, dword [esp + 8]
push ebx
call fcn.00415b38
add esp, 8
mov esi, eax
mov edi, edx
push ebx
push dword [esp + 0xb8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x88]
push eax
lea esi, [esp + 0x11c]
push esi
call fcn.0040bfe1
add esp, 0x10
mov ecx, esi
call fcn.004013b2
cmp byte [esp + 0x4d], 0
lea ebx, [esp + 0xb8]
je 0x403595
jmp 0x4037c9
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], ecx
add esi, eax
sub ecx, eax
jmp 0x403692
lea esi, [esp + 0xa0]
push esi
call fcn.004011c0
add esp, 4
push esi
call fcn.00414190
add esp, 4
jmp 0x403280
push 0x4b62c8
push 4
push eax
call fcn.004b4c10
jmp 0x40386b
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x100]
mov dword [ecx], eax
push 0x4b6888
push 0x4b6288
push ecx
jmp 0x403842
push 0x4b6098
push 0x4b623c
lea eax, [esp + 0x30]
push eax
push 0x46
push 0x4b6000
jmp 0x403849
movq xmm0, qword [esp + 0x1c]
movq qword [esp + 0x28], xmm0
push 0x4b68b8
push 0x4b622c
push edi
push 0x2b
push 0x4b624c
call fcn.004b4b20
add esp, 0x14
ud2
push 0x4b68e4
jmp 0x40385f
push 0x4b68f4
push 0x2b
push 0x4b61f0
call fcn.004b47c0
add esp, 0xc
ud2
movq xmm0, qword [esp + 0xbc]
movq qword [esp + 0x28], xmm0
push 0x4b68a4
push 0x4b622c
lea eax, [esp + 0x30]
push eax
jmp 0x403842