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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x1c
mov esi, ecx
or byte [esi + 0x85], 4
mov eax, dword [esi + 0x41]
test eax, eax
je 0x6217e0
mov dword [0x700c44], 0
mov dword [eax + 0x14], 0xffffffff
cmp dword [esi + 0x35], 0
je 0x621b24
xor ebp, ebp
movzx eax, byte [esi + 0x83]
and eax, 1
cmp eax, 1
je 0x621b18
mov edx, dword [esi + 0x21]
mov eax, dword [edx + 0x7a]
cmp eax, 2
je 0x6219b1
movzx eax, word [edx + 0x30]
test eax, eax
jne 0x621822
movzx eax, word [edx + 0x3c]
test eax, eax
je 0x621920
call fcn.0053ed74
mov ebx, eax
mov edi, dword [esi + 0x79]
cmp edi, 9
jne 0x621836
mov edi, 1
push 0
lea ecx, [esp + 0x14]
call fcn.0050afb4
mov eax, dword [0x7ebd80]
mov dword [esi + 0x71], eax
movzx edx, byte [esi + 9]
test dl, 8
jne 0x62185a
test ebp, ebp
jne 0x621910
mov eax, dword [esi + 0x21]
movzx eax, word [eax + 0x30]
test eax, eax
je 0x621889
push 4
push esi
push 0
push esi
push edi
push eax
mov ecx, ebx
call fcn.00541348
mov edi, eax
test edi, edi
jne 0x6218c2
lea eax, [ebx + 0x38]
push eax
lea ecx, [esp + 0x14]
call fcn.0051a628
jmp 0x6218c2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [eax]
mov edi, dword [esi + 0x21]
movzx edi, word [edi + 0x3c]
push edi
mov ecx, eax
call dword [edx + 0x20]
mov edi, eax
test edi, edi
je 0x6218bd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
lea edx, [esp + 0x10]
push eax
push edx
mov ecx, edi
call fcn.00503088
xor edi, edi
jmp 0x6218c2
mov edi, 1
test ebp, ebp
je 0x6218f9
mov eax, dword [esi + 0x2d]
mov edx, dword [eax + 0x2d]
mov eax, dword [edx + 0x29]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
movzx eax, byte [eax + 0xb3]
test al, 2
je 0x6218f9
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x25]
mov ecx, dword [edx + 8]
mov eax, dword [ecx + 0x50]
cmp eax, 2
jne 0x6218f9
xor ebp, ebp
test edi, edi
jne 0x621910
movzx eax, byte [esi + 0x83]
and eax, 1
cmp eax, 1
je 0x6219ce
lea ecx, [esp + 0x10]
call fcn.0050b06c
mov ecx, ebx
call fcn.0053ed6c
mov ecx, esi
call fcn.005ae308
mov ecx, esi
call fcn.005ae2a8
movzx eax, byte [esi + 9]
test al, 8
je 0x621970
cmp dword [0x700c44], 0
je 0x62195b
mov eax, dword [esi + 0x41]
test eax, eax
je 0x621af8
mov dword [eax + 0x4e], 1
mov dword [0x700c44], 0
mov eax, dword [esi + 0x21]
mov edx, dword [eax + 0x6a]
cmp edx, 1
jle 0x621970
push 0
mov ecx, dword [esi + 0x31]
call fcn.004f7724
mov ecx, dword [esi + 0x41]
test ecx, ecx
je 0x6219bf
movzx eax, byte [esi + 0x85]
and eax, 2
cmp eax, 4
je 0x6219b8
mov eax, dword [esi + 0x79]
cmp eax, 6
je 0x621993
cmp eax, 5
jne 0x6219b8
movzx eax, byte [esi + 0x83]
and eax, 1
cmp eax, 1
je 0x621b07
add ecx, 0x24
mov edx, dword [esi + 0x31]
call fcn.004f60bc
mov ecx, dword [esi + 0x41]
test ecx, ecx
je 0x6219bf
mov dword [ecx + 0x14], 0
and byte [esi + 0x85], 0xfb
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [esi + 9]
and eax, 8
shr eax, 3
test eax, eax
je 0x6219e8
mov edx, dword [esi + 0x7d]
cmp edx, 0xd
je 0x621a71
test ebp, ebp
je 0x6219f6
mov edx, dword [esi + 0x31]
movsx ecx, byte [edx]
test ecx, ecx
jne 0x621a0f
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.005c9da8
push eax
mov ecx, esi
call fcn.004f7e44
jmp 0x621910
test eax, eax
je 0x621910
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
cmp eax, 0xfffffffc
jne 0x621910
movzx eax, byte [esi + 0x85]
test al, 2
je 0x621a52
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.005c9da8
push eax
mov ecx, esi
call fcn.004f7e44
jmp 0x621910
mov eax, dword [esi + 0x21]
mov edx, dword [eax + 0x7e]
cmp edx, 2
jne 0x621910
movzx eax, byte [esi + 0x83]
test al, 0x20
jne 0x621a39
jmp 0x621910
mov edx, dword [esi + 0x21]
cmp dword [edx + 0x7e], 0
je 0x6219e8
cmp dword [edx + 0x4e], 0
je 0x6219e8
mov eax, dword [esi + 0x79]
cmp eax, 0xa
je 0x621aa9
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.005c9da8
push eax
mov ecx, esi
call fcn.004f7e44
jmp 0x621910
mov edx, dword [esi + 0x35]
movzx eax, byte [edx + 9]
test al, 1
je 0x621adf
mov eax, dword [esp + 0x10]
cmp dword [eax], 2
jne 0x621ac4
mov ecx, 1
jmp 0x621ac6
xor ecx, ecx
mov eax, dword [edx + 0x17]
cmp eax, 2
jne 0x621ad5
mov eax, 1
jmp 0x621ad7
xor eax, eax
cmp ecx, eax
je 0x621910
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.005c9da8
push eax
mov ecx, esi
call fcn.004f7e44
jmp 0x621910
mov ecx, esi
call fcn.00544090
mov eax, dword [esi + 0x41]
jmp 0x62194a
push 0
mov ecx, esi
call fcn.005c9ce8
mov ecx, dword [esi + 0x41]
jmp 0x6219a6
mov ecx, esi
call fcn.005ae10c
jmp 0x6217ff
mov eax, dword [esi + 0x21]
mov eax, dword [eax + 0x4e]
test eax, eax
jle 0x621cb8
push esi
push eax
mov ecx, dword [esi + 0x25]
call fcn.004fab50
mov dword [esi + 0x35], eax
test eax, eax
je 0x621c26
movzx edx, word [eax + 0xa]
and edx, 0x7c0
shr edx, 6
cmp edx, dword [esi + 0x79]
jne 0x621c12
movzx eax, byte [eax + 9]
test al, 1
jne 0x621b69
xor ebp, ebp
jmp 0x621b7d
mov ecx, esi
call fcn.005ca96c
push eax
mov ecx, esi
call fcn.004f7e44
mov ebp, 1
movzx eax, byte [esi + 9]
test al, 8
je 0x6217ec
mov eax, dword [esi + 0x79]
cmp eax, 6
je 0x621b9a
cmp eax, 5
jne 0x6217ec
mov ecx, dword [esi + 0x25]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 0x13
jne 0x621c00
push 0x808
mov ecx, dword [esi + 0x25]
call fcn.004f9070
push 1
push 0x800
push esi
mov ecx, eax
call fcn.004f8000
push 0x809
mov ecx, dword [esi + 0x25]
call fcn.004f9070
push 1
push 0x800
push esi
mov ecx, eax
call fcn.004f8000
push 0x80a
mov ecx, dword [esi + 0x25]
call fcn.004f9070
push 1
push 0x800
push esi
mov ecx, eax
call fcn.004f8000
jmp 0x6217ec
mov ecx, dword [esi + 0x25]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 0x1b
je 0x621ba7
jmp 0x6217ec
push str.Incorrect_TYPE_for_Field__nConflicts_with_STORAGE_
mov ecx, esi
call fcn.004fa850
mov eax, dword [esi + 0x35]
jmp 0x621b5d
movzx eax, byte [esi + 9]
test al, 8
jne 0x621ca7
push 0
lea ecx, [esp + 4]
call fcn.0050afb4
mov ecx, dword [esi + 0x25]
mov ebx, dword [ecx]
lea edx, [esp]
mov eax, dword [esi + 0x21]
push esi
push dword [eax + 0x4e]
push edx
call dword [ebx + 0x5c]
test eax, eax
jne 0x621c98
mov eax, dword [esi + 0x79]
cmp eax, 1
je 0x621c7e
push 1
push 0x1f
mov ecx, 0x700adc
call fcn.004e5c2c
test eax, eax
je 0x621c79
push esi
push dword [esi + 0x79]
push 0xffffffffffffffff
mov ecx, eax
call fcn.0051f0cc
jmp 0x621c7b
xor eax, eax
mov dword [esi + 0x35], eax
lea eax, [esp]
push eax
mov ecx, esi
call fcn.005c9da8
push eax
mov ecx, esi
call fcn.004f7e44
mov ebp, 1
jmp 0x621c9a
xor ebp, ebp
lea ecx, [esp]
call fcn.0050b06c
jmp 0x6217ec
push str.Incorrect_STORAGE_
mov ecx, esi
call fcn.004fa850
jmp 0x621c2e
movzx eax, byte [esi + 9]
test al, 8
jne 0x621ccc
mov eax, dword [esi + 0x79]
cmp eax, 1
je 0x6217ea
push 1
push 0x1f
mov ecx, 0x700adc
call fcn.004e5c2c
test eax, eax
je 0x621ced
push esi
push dword [esi + 0x79]
push 0xffffffffffffffff
mov ecx, eax
call fcn.0051f0cc
jmp 0x621cef
xor eax, eax
mov dword [esi + 0x35], eax
xor ebp, ebp
jmp 0x6217ec