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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1b4
mov eax, dword [0x4f4500]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x3c], ebx
cmp eax, 7
ja case.0x422204.5
jmp dword [eax*4 + 0x4226fc]
mov ecx, dword [edi]
push str.null
call fcn.0040b180
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004436fd
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call edx
mov eax, str.true
cmp byte [esp + 0x34], bl
jne 0x42224c
mov eax, str.false
mov ecx, dword [edi]
push eax
call fcn.0040b180
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004436fd
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x38]
mov ecx, dword [edi]
push eax
push 0x4ee884
call fcn.00413a00
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004436fd
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
fld qword [esp + 0x40]
sub esp, 8
lea esi, [esp + 0x1a8]
fstp qword [esp]
call fcn.004154d0
add esp, 8
lea eax, [esp + 0x34]
push eax
mov ecx, esi
push ecx
mov byte [esp + 0x3c], 0x2e
call fcn.0040ff70
cmp eax, 0xffffffff
jne 0x42231c
lea edx, [esp + 0x34]
push edx
mov eax, esi
push eax
mov byte [esp + 0x3c], 0x65
call fcn.0040ff70
cmp eax, 0xffffffff
jne 0x42231c
lea ecx, [esp + 0x34]
push ecx
mov edx, esi
push edx
mov byte [esp + 0x3c], 0x45
call fcn.0040ff70
cmp eax, 0xffffffff
jne 0x42231c
push 0x4eeb00
mov ecx, esi
call fcn.0040b180
push ebx
lea ecx, [esp + 0x1a4]
call fcn.00407260
cmp byte [eax], 0x2e
jne 0x422339
push ebx
lea eax, [esp + 0x1a4]
push eax
jmp 0x422372
cmp dword [esp + 0x1b4], 1
jbe 0x422377
push ebx
lea ecx, [esp + 0x1a4]
call fcn.00407260
cmp byte [eax], 0x2d
jne 0x422377
push 1
lea ecx, [esp + 0x1a4]
call fcn.00407260
cmp byte [eax], 0x2e
jne 0x422377
push 1
lea ecx, [esp + 0x1a4]
push ecx
call fcn.004227f0
mov ecx, dword [edi]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1a8]
push edx
call fcn.00405040
lea ecx, [esp + 0x1a0]
call fcn.00401db0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004436fd
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x1a0]
push ecx
mov ecx, esi
mov dword [esp + 0x1bc], 0xf
mov dword [esp + 0x1b8], ebx
mov byte [esp + 0x1a8], bl
call edx
lea eax, [esp + 0x1a0]
cmp byte [ebp + 0x10], bl
je 0x422434
push eax
lea ecx, [esp + 0x44]
call fcn.004059b0
mov edi, dword [edi]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x60]
call fcn.00411300
add esp, 4
push edi
call fcn.004242e0
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.004072e0
lea ecx, [esp + 0x1a0]
call fcn.00401db0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004436fd
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [edi]
push edx
call fcn.00424080
add esp, 4
lea ecx, [esp + 0x1a0]
call fcn.00401db0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004436fd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [edi]
push 0x4ee4c8
call fcn.0040b180
cmp byte [edi + 4], bl
je 0x42247f
mov ecx, dword [edi]
push 0x4ee88c
call fcn.0040b180
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
sar eax, 2
test eax, eax
jbe 0x422518
lea ecx, [esp + 0x38]
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.0041e3c0
test byte [esp + 0x3c], 0x10
je 0x4224ba
and dword [esp + 0x3c], 0xffffffef
lea ecx, [esp + 0x78]
call fcn.0040bcc0
cmp byte [ebp + 0x14], 0
je 0x4224ca
mov edx, dword [esp + 0x38]
cmp dword [edx + 4], 5
je 0x422506
test ebx, ebx
je 0x4224ee
mov ecx, dword [edi]
push 1
push 0x4ee4c0
call fcn.00404b70
cmp byte [edi + 4], 0
je 0x4224ee
mov ecx, dword [edi]
push 0x4ee88c
call fcn.0040b180
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004221d0
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
inc ebx
sar ecx, 2
cmp ebx, ecx
jb 0x422490
cmp byte [edi + 4], 0
je 0x42252c
mov ecx, dword [edi]
push 1
push 0x4ee88c
call fcn.00404b70
push 1
push 0x4ee4cc
jmp 0x4226de
mov ecx, dword [edi]
push 0x4eeb04
call fcn.0040b180
cmp byte [edi + 4], bl
je 0x422555
mov ecx, dword [edi]
push 0x4ed7e4
call fcn.0040b180
mov edx, dword [esi + 0x20]
mov eax, dword [edx]
mov ebx, dword [esi + 8]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 8]
test ebx, ebx
je 0x422577
cmp ebx, eax
je 0x42257c
call fcn.00443510
mov ecx, dword [esp + 0x50]
cmp dword [esp + 0x44], ecx
je 0x4226ba
mov dword [esp + 0x38], 0
test ebx, ebx
jne 0x422678
call fcn.00443510
xor eax, eax
mov edx, dword [esp + 0x44]
cmp edx, dword [eax + 0x18]
jne 0x4225af
call fcn.00443510
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x38]
add eax, 0xc
push ecx
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0041de70
test byte [esp + 0x3c], 0x20
je 0x4225de
and dword [esp + 0x3c], 0xffffffdf
lea ecx, [esp + 0x10c]
call fcn.0040bcc0
cmp byte [ebp + 0x14], 0
je 0x4225f2
mov edx, dword [esp + 0x38]
cmp dword [edx + 4], 5
je 0x4226a8
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov eax, dword [esi + 8]
mov dword [esp + 0x58], ecx
test ebx, ebx
je 0x422606
cmp ebx, eax
je 0x42260b
call fcn.00443510
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x58]
je 0x422635
mov ecx, dword [edi]
push 1
push 0x4ee4c0
call fcn.00404b70
cmp byte [edi + 4], 0
je 0x422645
mov ecx, dword [edi]
push 0x4ed7e4
call fcn.0040b180
cmp byte [edi + 4], 0
je 0x422645
mov eax, dword [ebp + 0xc]
inc eax
push edi
call fcn.004227a0
test ebx, ebx
jne 0x42267f
call fcn.00443510
mov eax, dword [esp + 0x44]
cmp eax, dword [ebx + 0x18]
jne 0x42265c
call fcn.00443510
mov ecx, dword [esp + 0x48]
push ecx
push edi
call fcn.00422720
cmp byte [edi + 4], 0
mov ecx, dword [edi]
je 0x422683
push 2
push 0x4ee410
jmp 0x42268a
mov eax, dword [ebx]
jmp 0x4225a1
mov ebx, dword [ebx]
jmp 0x42264e
push 1
push 0x4ee40c
call fcn.00404b70
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [esp + 0x3c]
push eax
inc ecx
push ecx
push edx
mov ecx, edi
call fcn.004221d0
lea ecx, [esp + 0x40]
call fcn.0041f260
mov ebx, dword [esp + 0x40]
jmp 0x422565
cmp byte [edi + 4], 0
je 0x4226d7
mov ecx, dword [edi]
push 2
push 0x4ed7e4
call fcn.00404b70
mov eax, dword [ebp + 0xc]
push edi
call fcn.004227a0
push 1
push 0x4ee4c4
mov ecx, dword [edi]
call fcn.00404b70
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004436fd
mov esp, ebp
pop ebp
ret 0x10