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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467d18
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4851d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4851d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [ecx + 8]
mov eax, dword [esi + 8]
mov eax, dword [eax]
add esi, 4
mov edi, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov ebx, dword [eax + 8]
add eax, 4
test esi, esi
je 0x422225
cmp esi, eax
je 0x42222a
call fcn.0044d026
cmp edi, ebx
je 0x422555
test esi, esi
jne 0x42223b
call fcn.0044d026
cmp edi, dword [esi + 4]
jne 0x422245
call fcn.0044d026
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea eax, [edi + 0xc]
mov dword [esp + 0x70], ecx
mov word [esp + 0x60], cx
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 7
call fcn.00401440
cmp edi, dword [esi + 4]
mov dword [esp + 0x80], 0
jne 0x42227d
call fcn.0044d026
lea eax, [edi + 0x28]
test eax, eax
jne 0x4222ac
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x80], 0xffffffff
jb 0x422210
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042cbc2
add esp, 4
jmp 0x422210
mov ebx, dword [eax]
test ebx, ebx
mov dword [esp + 0x18], ebx
jne 0x4222de
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x80], 0xffffffff
jb 0x422210
mov edx, dword [esp + 0x58]
push edx
call fcn.0042cbc2
add esp, 4
jmp 0x422210
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
call fcn.0041e2f0
mov edi, dword [ebx + 8]
cmp edi, dword [ebx + 0xc]
lea esi, [ebx + 4]
jbe 0x4222ff
call fcn.0044d026
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
lea edi, [ebx + 4]
mov dword [esp + 0x14], eax
jbe 0x42231b
call fcn.0044d026
test esi, esi
je 0x422323
cmp esi, edi
je 0x422328
call fcn.0044d026
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x20], eax
je 0x4224ef
test esi, esi
jne 0x42233f
call fcn.0044d026
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 8]
jb 0x42234d
call fcn.0044d026
mov eax, dword [esp + 0x20]
add eax, 0x1c
je 0x422307
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x40], eax
je 0x422307
mov esi, dword [eax + 8]
cmp esi, dword [eax + 0xc]
lea ebx, [eax + 4]
jbe 0x422370
call fcn.0044d026
mov edi, ebx
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x14], eax
jbe 0x422383
call fcn.0044d026
test edi, edi
je 0x42238b
cmp edi, ebx
je 0x422390
call fcn.0044d026
cmp esi, dword [esp + 0x14]
je 0x422444
test edi, edi
jne 0x4223a3
call fcn.0044d026
cmp esi, dword [edi + 8]
jb 0x4223ad
call fcn.0044d026
lea eax, [esi + 0x1c]
test eax, eax
je 0x422372
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
je 0x422372
mov dword [esp + 0x38], edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x3c], esi
add esi, 0x20
cmp esi, edi
je 0x4223ea
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esi - 0x20]
call fcn.00401440
mov edx, dword [esi + 0x1c]
mov dword [esi - 4], edx
add esi, 0x20
cmp esi, edi
jne 0x4223d0
mov edi, dword [ebx + 8]
lea esi, [edi - 0x20]
cmp esi, edi
je 0x42241d
cmp dword [esi + 0x18], 8
jb 0x422406
mov eax, dword [esi + 4]
push eax
call fcn.0042cbc2
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
mov word [esi + 4], ax
add esi, 0x20
cmp esi, edi
jne 0x4223f4
mov ecx, dword [esp + 0x14]
add dword [ebx + 8], 0xffffffe0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
call fcn.00405ec0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0042cbc2
add esp, 4
jmp 0x422372
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xc]
mov ebx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x48], esi
add esi, 0x20
cmp esi, edi
je 0x42247b
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esi - 0x20]
call fcn.00401440
mov edx, dword [esi + 0x1c]
mov dword [esi - 4], edx
add esi, 0x20
cmp esi, edi
jne 0x422461
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xc]
add eax, 4
lea esi, [edi - 0x20]
cmp esi, edi
je 0x4224b9
lea esp, [esp]
cmp dword [esi + 0x18], 8
jb 0x4224a2
mov eax, dword [esi + 4]
push eax
call fcn.0042cbc2
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
mov word [esi + 4], ax
add esi, 0x20
cmp esi, edi
jne 0x422490
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
add dword [eax + 0xc], 0xffffffe0
add eax, 4
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.0041f800
push esi
call fcn.0042cbc2
mov esi, ebx
mov ebx, dword [esp + 0x1c]
add esp, 4
jmp 0x422307
mov ecx, ebx
call fcn.0041f880
push ebx
call fcn.0042cbc2
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add esp, 4
push edx
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [edx + 8]
add ecx, 4
call fcn.0041e550
cmp dword [esp + 0x6c], 8
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x80], 0xffffffff
jb 0x422210
mov eax, dword [esp + 0x58]
push eax
call fcn.0042cbc2
add esp, 4
jmp 0x422210
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044d5bb
mov esp, ebp
pop ebp
ret