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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x638
mov al, byte [edx + 0xa]
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], ecx
mov byte [esp + 3], al
push esi
push edi
test al, al
jne 0x10030b16
mov byte [esp + 0xb], 2
movsx eax, byte [edx + 8]
mov esi, 3
mov ecx, dword [edx + 4]
add eax, 0xffffffbf
mov byte [esp + 9], 0
mov dword [esp + 0x18], esi
mov byte [esp + 0xa], 0x65
cmp eax, 0x26
ja case.0x10030b3f.66
movzx eax, byte [eax + 0x100310fc]
jmp dword [eax*4 + 0x100310d8]
mov byte [esp + 9], 1
mov esi, 4
mov byte [esp + 0xa], 0x70
jmp 0x10030b7f
mov byte [esp + 9], 1
mov esi, 1
jmp case.0x10030b3f.103
mov byte [esp + 9], 1
mov esi, 2
jmp case.0x10030b3f.103
mov byte [esp + 9], 1
cmp ecx, 0xffffffff
mov eax, 6
cmove ecx, eax
mov dword [esp + 0x18], esi
movsd xmm2, qword [ebp + 0x10]
mov eax, 0x432
cmp ecx, eax
mov edi, ecx
cmovg edi, eax
xor edx, edx
cmp ecx, 0x432
mov dword [esp + 0x70], edi
lea eax, [ecx - 0x432]
cmovle eax, edx
sub esp, 8
mov dword [esp + 0x40], eax
movsd qword [esp], xmm2
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dsign]
movsd xmm0, qword [ebp + 0x10]
add esp, 8
test eax, eax
setne byte [esp + 0xd]
ucomisd xmm0, xmm0
setp cl
cmp cl, 1
jne 0x10030c12
test eax, eax
lea edx, [esp + 0xd0]
mov ax, word [0x101165a4]
lea ecx, [esp + 0xd1]
cmove ecx, edx
mov dword [esp + 0x28], ecx
mov word [ecx], ax
mov eax, dword [esp + 0x28]
mov cl, byte [0x101165a6]
mov byte [eax + 2], cl
mov edi, dword [esp + 0x28]
add edi, 3
mov eax, edi
mov ecx, edi
mov edx, edi
jmp 0x10030c5c
lea edx, [esp + 0x639]
lea ecx, [esp + 0xd0]
cmp edi, 0xffffffff
jne 0x10030c40
sub esp, 0xc
movsd qword [esp + 4], xmm0
push esi
call fcn.1002bee0
mov edi, eax
mov dword [esp + 0x3c], edx
mov ecx, edi
mov edx, edi
jmp 0x10030c59
sub esp, 8
movsd qword [esp], xmm0
push edi
push esi
call fcn.1002c1a0
mov dword [esp + 0x3c], edx
mov edi, eax
mov ecx, eax
mov edx, eax
add esp, 0x10
lea esi, [esp + 0xd0]
mov dword [esp + 0x28], edi
sub eax, esi
mov dword [esp + 0x40], esi
cmp byte [esp + 0xd], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
je 0x10030c93
lea esi, [esp + 0xd1]
mov dword [esp + 0x40], esi
mov ecx, esi
mov dword [esp + 0x34], esi
jmp 0x10030cae
cmp byte [esp + 0xb], 2
mov edx, ecx
lea ecx, [esp + 0xd0]
je 0x10030cae
inc eax
mov edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp byte [esp + 9], 0
je 0x10030cec
cmp ecx, edx
je 0x10030ce7
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x61
jl 0x10030cce
cmp al, 0x7a
jg 0x10030cce
sub al, 0x20
mov byte [ecx], al
inc ecx
cmp ecx, edx
jne 0x10030cc0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], esi
mov dword [esp + 0x10], eax
add byte [esp + 0xa], 0xe0
fld qword [ebp + 0x10]
sub esp, 8
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll__dclass
add esp, 8
mov byte [esp + 0xc], 0
test ax, ax
mov dword [esp + 0x1c], edi
xorps xmm0, xmm0
mov dword [esp + 0x3c], edi
setle al
movaps xmmword [esp + 0x50], xmm0
xor edx, edx
mov byte [esp + 0xe], al
mov dword [esp + 0x24], edx
mov ecx, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], dl
test al, al
je 0x10030f86
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0xb]
mov byte [esp + 9], cl
test cl, cl
mov ecx, edi
jne 0x10030d5e
cmp byte [eax + 0xc], dl
je 0x10030ed0
mov eax, esi
cmp eax, edi
jae 0x10030d8a
mov dh, byte [esp + 0xa]
mov dl, byte [eax]
cmp dl, 0x2e
jne 0x10030d75
mov dword [esp + 0x1c], eax
jmp 0x10030d7f
cmp dl, dh
jne 0x10030d7f
mov ecx, eax
mov dword [esp + 0x20], ecx
inc eax
cmp eax, edi
jb 0x10030d68
mov esi, dword [esp + 0x40]
xor edx, edx
mov eax, dword [esp + 0x1c]
cmp ecx, eax
cmovb eax, ecx
cmp byte [esp + 9], 0
mov dword [esp + 0x3c], eax
je 0x10030db6
cmp dword [esp + 0x1c], edi
jne 0x10030db6
mov eax, dword [esp + 0x10]
inc eax
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xc], 0
je 0x10030ed0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10030ddb
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x44], esi
mov eax, dword [esi]
call dword [eax + 4]
jmp 0x10030dec
push 1
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
mov esi, eax
add esp, 4
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x40]
call fcn.1002c4f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, eax
call edx
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x10030e3e
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030e34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030e34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d6ec2
add esp, 8
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0x50], xmm0
movq xmm0, qword [esp + 0xc0]
movq qword [esp + 0x60], xmm0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0xf
mov byte [esp + 0xb0], 0
test esi, esi
je 0x10030e93
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10030e93
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp dword [esp + 0x64], 0xf
lea eax, [esp + 0x50]
push dword [esp + 0x60]
cmova eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
sub ecx, esi
push eax
call fcn.1002a7e0
mov edi, dword [esp + 0x30]
add esp, 8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
dec eax
jmp dword [eax*4 + 0x10031124]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x10030efe
mov al, byte [esp + 0xa]
dec ecx
mov dword [esp + 0x20], ecx
cmp byte [ecx], al
jne 0x10030ee8
mov dword [esp + 0x24], edx
jmp 0x10030f86
mov dword [esp + 0x24], edx
jmp 0x10030f86
mov eax, dword [esp + 0x10]
add eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
cmp byte [edx + 0xd], 0
je 0x10030fab
cmp byte [edx + 9], 0
jne 0x10030fab
cmp byte [esp + 0xe], 0
je 0x10030fab
mov cl, 1
jmp 0x10030fad
xor cl, cl
lea esi, [esp + 0xb]
mov byte [esp + 0xf], cl
mov dword [esp + 0x74], esi
test cl, cl
lea esi, [esp + 0xd]
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], esi
lea ecx, [esp + 0x74]
lea esi, [esp + 0xf]
mov dword [esp + 0x7c], esi
lea esi, [esp + 0x14]
mov dword [esp + 0x80], esi
lea esi, [ebp + 0xc]
mov dword [esp + 0x88], esi
lea esi, [esp + 0x34]
mov dword [esp + 0x8c], esi
lea esi, [esp + 0x3c]
mov dword [esp + 0x90], esi
lea esi, [esp + 0x50]
mov dword [esp + 0x94], esi
lea esi, [esp + 0x48]
mov dword [esp + 0x98], esi
lea esi, [esp + 0x1c]
mov dword [esp + 0x9c], esi
lea esi, [esp + 0x28]
mov dword [esp + 0xa0], esi
lea esi, [esp + 0xc]
mov dword [esp + 0xa4], esi
lea esi, [esp + 0x20]
mov dword [esp + 0xa8], esi
lea esi, [esp + 0x24]
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x4c]
je 0x10031097
push dword [ebp + 8]
push esi
call fcn.10030860
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x1003108f
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031085
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100310d1
push ecx
push edx
call fcn.100d6ec2
add esp, 8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push ecx
push edx
push dword [ebp + 8]
mov edx, eax
mov ecx, esi
call fcn.10033ec0
mov ecx, dword [esp + 0x74]
add esp, 0x10
cmp ecx, 0xf
jbe 0x1003108f
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10031085
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10031085
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
inc esi
or eax, dword [ebx]
adc byte [edi + 0xb], dl
add edx, dword [eax]
arpl word [ebx], cx
add edx, dword [eax]
outsd dx, dword [esi]
or eax, dword [ebx]
adc byte [ebx + 0xb], cl
add edx, dword [eax]
pop esp
or eax, dword [ebx]
adc byte [eax + 0xb], ch
add edx, dword [eax]
je 0x10031101
add edx, dword [eax]
or dword [ebx], 3
adc byte [eax], al
or byte [eax], cl
or byte [ecx], al
add al, byte [ebx]
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax + ecx], al
or byte [eax], cl
add eax, -594540794
push cs
add edx, dword [eax]
cli
push cs
add edx, dword [eax]
pop es
lsl edx, word [eax]
fmul qword [esi]
add edx, dword [eax]
int3