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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a085
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4ca180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x30], ebx
cmp dword [ebx + 0x7c], 0
lea edx, [ebx + 0x60]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
jbe 0x42238c
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edi
nop
cmp byte [ebx + 0x60], 0
mov eax, dword [ebx + 0x78]
mov edx, dword [ecx + eax]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ecx + edi]
je 0x422241
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], eax
jmp 0x42224b
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov edi, dword [edx + 0x74]
lea esi, [edx + 0x70]
test edi, edi
je 0x422288
mov eax, dword [esi]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x422284
mov ecx, dword [ebx]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x422272
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0045ba75
add esp, 8
test edi, edi
jne 0x422255
mov ebx, dword [ebp - 0x20]
mov dword [esi + 4], 0
test ebx, ebx
je 0x4222cd
mov ecx, esi
call fcn.00422770
push 4
call fcn.0045ba45
mov edx, eax
add esp, 4
mov dword [ebp - 0x20], edx
test edx, edx
je 0x4222b8
mov dword [edx], 0
jmp 0x4222ba
xor edx, edx
mov ecx, dword [esi + 4]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov dword [eax + ecx*4], edx
sub ebx, 1
jne 0x422296
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + 0x80]
test edi, edi
je 0x422314
nop word [eax + eax]
mov eax, dword [esi + 0x7c]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x422310
mov ecx, dword [ebx]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x4222fe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0045ba75
add esp, 8
test edi, edi
jne 0x4222e0
mov ebx, dword [ebp - 0x1c]
mov dword [esi + 0x80], 0
test ebx, ebx
je 0x422362
lea ecx, [esi + 0x7c]
call fcn.00422770
push 4
call fcn.0045ba45
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x422346
mov dword [eax], 0
jmp 0x422348
xor eax, eax
mov edx, dword [esi + 0x80]
lea ecx, [edx + 1]
mov dword [esi + 0x80], ecx
mov ecx, dword [esi + 0x7c]
mov dword [ecx + edx*4], eax
sub ebx, 1
jne 0x422325
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
inc esi
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
add ecx, 4
add edi, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edi
cmp esi, dword [ebx + 0x7c]
jb 0x422220
lea edx, [ebx + 0x60]
jmp 0x42238f
mov dword [ebp - 0x14], edx
xor esi, esi
cmp dword [ebx + 0x18], esi
jbe 0x4224e8
nop word [eax + eax]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + esi*8]
lea edx, [eax + esi*8]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 0x30]
sub edi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xd], al
test al, al
je 0x4223cc
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov al, byte [ebp - 0xd]
jmp 0x4223d2
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 4]
test al, al
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov edx, edi
cmovne eax, edi
mov dword [ebp - 0x30], 0
cmovne edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x78]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ecx + eax]
mov eax, dword [eax + 0x7c]
push dword [eax + edi*4]
mov edi, dword [ebp - 0x28]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [eax + 0x70]
mov ecx, dword [ecx + esi*4]
push dword [eax + edx*4]
call fcn.00424be0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov eax, dword [ebx + 0x78]
mov byte [ebp - 4], 3
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x42244d
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push 0x496300
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x42246e
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x496300
push ecx
call dword [eax]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x4224af
test ecx, ecx
je 0x4224af
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
push 0x80000
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4224c0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 5
test eax, eax
je 0x4224d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc esi
mov dword [ebp - 4], 0xffffffff
cmp esi, dword [ebx + 0x18]
jb 0x4223a0
lea edx, [ebx + 0x60]
mov dword [ebp - 0x14], edx
cmp byte [edx], 0
lea esi, [ebx + 0x78]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp + 8], esi
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x28], edx
je 0x42252c
mov eax, dword [eax + 0x70]
mov ecx, dword [edi]
mov dword [ebp - 0x30], ecx
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x42255e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea eax, [ebx + 0x78]
mov dword [ebp + 8], eax
lea eax, [ebx + 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
jmp 0x42255e
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x422558
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x78]
mov dword [ebp + 8], eax
lea eax, [ebx + 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edx
mov ecx, dword [eax]
test ecx, ecx
je 0x422576
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ecx], eax
cmp dword [ebx + 0x24], 0
jbe 0x422615
sub dword [ebp + 0xc], edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [ecx + eax]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + edx*4]
lea ecx, [eax*4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x30]
sub edx, dword [ecx + eax]
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x4225ce
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
jmp 0x4225d6
mov eax, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + edx*4]
mov dword [ebp + 8], eax
test esi, esi
je 0x4225e9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x4225f8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
add edi, 4
mov dword [eax], esi
add ecx, 4
mov esi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x24], ecx
cmp esi, dword [ebx + 0x24]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x1c]
jb 0x422597
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8