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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
lea edx, [eax + ebp]
test ebp, ebp
cmove edx, ebp
movzx ecx, word [esi + 0x1e8]
test ecx, 0x200
jne 0x2113f8
test cl, 0x10
jne 0x211402
mov eax, edx
sub eax, ebp
je 0x21141b
mov dword [esp + 0x14], eax
lea eax, [esi + 0x160]
mov dword [esp + 4], eax
lea eax, [esi + 0x1c8]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x1d8]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp], edx
jmp 0x211450
mov dword [edi], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [edi], 0
test eax, eax
je 0x211433
sub edx, ebp
push edx
push ebp
push esi
call fcn.002164d0
add esp, 0x24
jmp 0x2113fd
mov dword [esp + 8], 0
cmp dword [esp + 0x40], 0
jne 0x2119c6
jmp 0x211a9b
xor eax, eax
jmp case.0x211562.2
mov dword [esi + 0x1a0], 2
xor ebx, ebx
cmp ebp, edx
setne al
or al, bl
je 0x2119b9
mov eax, dword [esi + 0x1a0]
cmp eax, 5
ja case.default.0x21145b
jmp dword [eax*4 + 0x76b084]
mov eax, edx
sub eax, ebp
test eax, eax
jle 0x211ad9
push dword [esp + 0x40]
push eax
push ebp
push dword [esp + 0x10]
call fcn.00214f60
add esp, 0x10
test eax, eax
js 0x211a7b
add ebp, eax
add dword [esp + 8], eax
cmp dword [esi + 0x168], 0
jne 0x2119bb
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
mov dword [esi + 0x174], ecx
mov dword [esi + 0x170], eax
push dword [esp + 4]
call fcn.00214f30
add esp, 4
mov dword [esi + 0x1a0], 1
mov edx, dword [esp]
cmp ebp, edx
je 0x2119b9
mov eax, edx
sub eax, ebp
test eax, eax
jle 0x211ac4
push dword [esp + 0x40]
push eax
push ebp
push dword [esp + 0x10]
call fcn.00214f60
add esp, 0x10
test eax, eax
js 0x211a54
add ebp, eax
add dword [esp + 8], eax
cmp dword [esi + 0x168], 0
jne 0x2119bb
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
mov dword [esi + 0x17c], ecx
mov dword [esi + 0x178], eax
mov dword [esi + 0x19c], ecx
mov dword [esi + 0x198], eax
push dword [esp + 4]
call fcn.00214f30
add esp, 4
mov ecx, dword [esi + 0x170]
mov edx, dword [esi + 0x174]
mov eax, 0xfffffda7
mov ebx, 0xd
cmp ebx, ecx
mov ebx, 0
sbb ebx, edx
jb case.default.0x211562
jmp dword [ecx*4 + 0x76b10c]
push 0
push esi
call fcn.00216640
add esp, 8
test eax, eax
jne case.0x211562.2
mov eax, dword [esi + 0x198]
or eax, dword [esi + 0x19c]
mov edx, dword [esp]
jne 0x211437
push 1
push esi
call fcn.00216640
add esp, 8
test eax, eax
je 0x2119a3
jmp 0x211b18
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov ebx, edx
sub ebx, ebp
mov edx, ebx
sar edx, 0x1f
cmp eax, ebx
mov edi, ecx
sbb edi, edx
mov edx, eax
jl 0x2115ca
mov edx, ebx
add ebp, edx
add dword [esp + 8], edx
mov edi, eax
sub edi, edx
mov ebx, ecx
sbb ebx, 0
xor eax, edx
or eax, ecx
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], ebx
jne 0x211a43
push dword [esp + 4]
call fcn.00214f40
add esp, 4
xor ebx, ebx
mov edi, dword [esp + 0x30]
mov edx, dword [esp]
jmp 0x211443
mov ebx, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov eax, edx
sub eax, ebp
mov edx, eax
sar edx, 0x1f
cmp ebx, eax
sbb ecx, edx
jl 0x211626
mov ebx, eax
push ebx
push esi
call fcn.00218530
add esp, 8
test eax, eax
mov ecx, dword [esp + 0x2c]
jne case.0x211562.2
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x211665
push dword [esi + 0x124]
push dword [ecx + 0x420]
push ebx
push ebp
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x1c
test eax, eax
jne 0x211a5e
add ebp, ebx
mov eax, dword [esi + 0x198]
mov edi, dword [esi + 0x19c]
mov edx, eax
sub edx, ebx
mov ecx, edi
sbb ecx, 0
mov dword [esi + 0x198], edx
mov dword [esi + 0x19c], ecx
xor eax, ebx
or eax, edi
jne 0x211a43
push 1
push esi
call fcn.00216640
add esp, 8
test eax, eax
mov edi, dword [esp + 0x30]
je 0x2119a3
jmp 0x211aee
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov ebx, edx
sub ebx, ebp
mov edx, ebx
sar edx, 0x1f
cmp eax, ebx
mov edi, ecx
sbb edi, edx
mov edx, eax
jl 0x2116cf
mov edx, ebx
xor eax, edx
xor ebx, ebx
or eax, ecx
sete bl
push ebx
push edx
push ebp
push esi
mov edi, dword [esp + 0x3c]
push edi
call fcn.00212f50
add esp, 0x14
test eax, eax
js 0x2117e0
add ebp, eax
add dword [esp + 8], eax
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x19c]
mov edi, ecx
sub edi, eax
mov ebx, edx
sbb ebx, 0
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], ebx
test byte [esi + 0x1e8], 0x10
jne 0x211a85
xor ecx, eax
or ecx, edx
mov edi, dword [esp + 0x30]
jne 0x2119bb
mov eax, dword [esi + 0x1c0]
lea ecx, [eax - 3]
cmp ecx, 0xd
ja case.0x211745.4
jmp dword [ecx*4 + 0x76b09c]
push dword [esp + 0xc]
call fcn.002183d0
add esp, 4
cmp eax, 0xffffff97
je 0x21188f
test eax, eax
jne case.0x211562.2
mov eax, dword [esi + 0x1c0]
add eax, 0xfffffffd
cmp eax, 0xd
ja case.0x21177b.4
jmp dword [eax*4 + 0x76b0d4]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x21195c
jmp 0x211990
push 2
push esi
call fcn.00216640
add esp, 8
test eax, eax
jne case.0x211562.2
mov eax, dword [esi + 0x198]
or eax, dword [esi + 0x19c]
je 0x211817
mov eax, dword [esi + 0x1c0]
add eax, 0xfffffffd
cmp eax, 0xd
ja case.0x2117c9.4
jmp dword [eax*4 + 0x76b144]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x50]
test eax, eax
jne 0x21184b
jmp 0x21186b
cmp eax, 0xffffff97
je 0x211893
jmp case.0x211562.2
add ecx, 0xfff0f900
adc edx, 0xffffffff
cmp ecx, 2
sbb edx, 0
jb case.0x211562.2
mov dword [esi + 0x1a0], 4
mov bl, 1
mov edx, dword [esp]
jmp 0x211443
push esi
call fcn.002168a0
add esp, 4
test eax, eax
jne case.0x211562.2
push 3
push esi
call fcn.00216640
add esp, 8
test eax, eax
je 0x2119a3
jmp 0x211b2d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x21186b
push dword [esi + 0x124]
push dword [ecx + 0x420]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x14
test eax, eax
jne 0x211a5e
mov dword [esi + 0x1a0], 3
jmp 0x2119af
push dword [esp + 0xc]
call fcn.00218460
add esp, 4
cmp eax, 0xffffff97
jne 0x211761
mov edi, dword [esp + 0x2c]
or byte [esi + 0x1e9], 0x10
mov dword [esi + 0x1a0], 5
mov eax, dword [edi + 0x68]
test eax, eax
je 0x2118d2
push dword [esi + 0x124]
push dword [edi + 0x420]
push 0
push 0x10e
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
call eax
add esp, 0x1c
test eax, eax
jne 0x211a5e
mov eax, dword [edi + 0x70]
mov bl, 1
test eax, eax
mov ecx, edi
mov edi, dword [esp + 0x30]
je 0x211910
push dword [esi + 0x124]
push dword [ecx + 0x420]
push 0
push 0x10e
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x1c
test eax, eax
mov edx, dword [esp]
je 0x211443
jmp 0x211a5e
mov edx, dword [esp]
jmp 0x211443
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x424], 0
je case.0x21177b.12
test byte [esi + 0x1e5], 0x80
je case.0x21177b.12
test byte [esi + 0x1e9], 0xc
jne case.0x21177b.12
mov ecx, dword [esp + 0x2c]
mov edx, esi
push dword [esp + 0x10]
call fcn.00213210
add esp, 4
test eax, eax
jne case.0x211562.2
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x211990
cmp dword [esp + 0x40], 0
setne cl
cmp ebp, dword [esp]
sete dl
and dl, cl
movzx ecx, dl
push dword [esi + 0x124]
push dword [ebx + 0x420]
push ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ebx
call eax
add esp, 0x18
test eax, eax
jne 0x211a5e
push 3
push esi
call fcn.00216640
add esp, 8
test eax, eax
jne 0x211b03
push dword [esp + 4]
call fcn.00214f40
add esp, 4
xor ebx, ebx
mov edx, dword [esp]
jmp 0x211443
mov ebp, edx
cmp dword [esp + 0x40], 0
je 0x211a9b
mov ecx, dword [esi + 0x1a0]
cmp ecx, 5
je 0x211a9b
mov eax, 0xfffffda6
test ecx, ecx
jne case.0x211562.2
mov eax, 0xfffffda2
cmp dword [esi + 0x168], 0
jne case.0x211562.2
push 4
push esi
call fcn.00216640
add esp, 8
test eax, eax
jne case.0x211562.2
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x211a9b
push dword [esi + 0x124]
mov ecx, dword [esp + 0x30]
push dword [ecx + 0x420]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x14
mov ecx, eax
mov eax, 0xfffffc7a
test ecx, ecx
jne case.0x211562.2
jmp 0x211a9b
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x40], 0
jne 0x2119c6
jmp 0x211a9b
mov eax, 0xfffffda6
jmp case.0x211562.2
mov eax, 0xfffffc7a
jmp case.0x211562.2
sub edx, ebp
add edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, edx
jmp case.0x211562.2
mov eax, 0xfffffda2
jmp case.0x211562.2
cmp ebp, dword [esp]
mov edi, dword [esp + 0x30]
je 0x211a9b
push esi
call fcn.002165f0
add esp, 4
test eax, eax
je 0x211aaa
sub ebp, dword [esp + 0x38]
mov dword [edi], ebp
mov eax, dword [esp + 8]
jmp case.0x211562.2
mov eax, dword [esp]
sub eax, ebp
push eax
push ebp
push esi
call fcn.002164d0
add esp, 0xc
test eax, eax
jne case.0x211562.2
jmp 0x211a9b
push 0x4ee
push 0x76b2ee
push 0x76b33a
nop
call reloc.ucrtbase.dll__assert
push 0x4da
push 0x76b2ee
push 0x76b33a
nop
call reloc.ucrtbase.dll__assert
push 0x558
push 0x76b2ee
push 0x76b2fd
nop
call reloc.ucrtbase.dll__assert
push 0x5b1
push 0x76b2ee
push 0x76b2fd
call reloc.ucrtbase.dll__assert
nop
push 0x508
push 0x76b2ee
push 0x76b2fd
call reloc.ucrtbase.dll__assert
nop
push 0x51d
push 0x76b2ee
push 0x76b2fd
nop
call reloc.ucrtbase.dll__assert
push 0x76b368
push 0x587
push 0x76b2ee
call fcn.00218920
push 0x76b368
push 0x5a8
push 0x76b2ee
call fcn.00218920
push 0x76b368
push 0x52d
push 0x76b2ee
call fcn.00218920
nop