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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov esi, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x2c], eax
cmp ebx, 1
je 0x422208
mov edi, edx
cmp ebx, dword [esp + 0xbc]
jg 0x422239
mov dword [esp], esi
mov ecx, dword [esp + 0xb8]
call fcn.00931f11
mov eax, dword [esi + 0x18]
sub esp, 4
mov edx, dword [esp + 0xb8]
mov dword [edx + 0x18], eax
mov eax, edx
add eax, 0x1c
mov dword [esp + 0x38], eax
mov ebp, eax
mov eax, dword [edi]
lea ebx, [eax + 0x1c]
mov dword [edi], ebx
cmp ebx, dword [edi + 8]
je 0x4224a1
mov eax, dword [esp + 0x20]
cmp dword [eax], ebx
je 0x4224b1
mov eax, esi
mov esi, ebp
mov ebp, eax
jmp 0x422108
mov ecx, esi
add esi, 0x1c
call fcn.00931f11
mov ecx, dword [ebx + 0x18]
sub esp, 4
mov dword [esi - 4], ecx
mov eax, dword [edi]
lea ebx, [eax + 0x1c]
mov dword [edi], ebx
cmp ebx, dword [edi + 8]
je 0x422161
mov eax, dword [esp + 0x20]
cmp dword [eax], ebx
je 0x422183
mov eax, dword [esp + 0xb0]
cmp dword [ebx + 0x18], eax
mov dword [esp], ebx
jne 0x4220e1
mov ecx, ebp
add ebp, 0x1c
call fcn.00931f11
mov ecx, dword [ebx + 0x18]
sub esp, 4
mov dword [ebp - 4], ecx
cmp ebp, dword [esp + 0x24]
jne 0x4220f4
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + 4]
add eax, 4
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
lea edx, [ebp + 0x1f8]
mov dword [esp + 0x30], ebp
lea ebx, [eax + 0x1c]
mov dword [esp + 0x24], edx
mov dword [edi], ebx
cmp ebx, dword [edi + 8]
jne 0x422100
lea esi, [esi]
nop
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
lea ebx, [ecx + 4]
mov dword [edi + 0xc], ebx
mov ebx, dword [ecx + 4]
lea ecx, [ebx + 0x1f8]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi], ebx
cmp dword [eax], ebx
jne 0x422108
mov eax, ebp
mov ebp, esi
sub ebp, dword [esp + 0xb8]
mov ebx, ebp
mov esi, eax
sar ebx, 2
imul ebx, ebx, 0xb6db6db7
test ebp, ebp
jle 0x422208
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x34], eax
jmp 0x4221c9
sub ebx, 1
je 0x422204
add edi, 0x1c
mov dword [esp], ebp
mov ecx, esi
add esi, 0x1c
call fcn.00931f11
mov eax, dword [ebp + 0x18]
mov ebp, edi
sub esp, 4
mov dword [esi - 4], eax
cmp esi, dword [esp + 0x20]
jne 0x4221c1
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 4]
add eax, 4
mov dword [esp + 0x34], eax
lea edx, [esi + 0x1f8]
mov dword [esp + 0x20], edx
sub ebx, 1
jne 0x4221c6
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax], esi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x28]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x40], esi
mov esi, ebx
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x40]
shr esi, 0x1f
add esi, ebx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sar esi, 1
mov dword [esp], esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
call fcn.00900b51
sub esp, 4
mov eax, dword [esp + 0x40]
lea ebp, [esp + 0x80]
lea edx, [esp + 0x70]
mov ecx, ebp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [edi]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [esp + 0x50]
call fcn.00422041
mov eax, ebx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
sub eax, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xb0]
lea esi, [esi]
mov esi, ebx
test eax, eax
je 0x422350
cmp dword [ebx + 0x18], edi
jne 0x4223e9
add ebx, 0x1c
sub eax, 1
cmp edx, ebx
jne 0x422321
mov ebx, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x24], ebx
lea edx, [ebx + 0x1f8]
mov esi, ebx
test eax, eax
jne 0x422327
mov edi, dword [esp + 0x24]
lea ebx, [esp + 0x60]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x10], 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], edi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0090c3c1
mov eax, dword [esp + 0x28]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x70]
mov ebx, dword [ebx]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x7c], ebx
lea ebx, [esp + 0x60]
mov dword [esp + 8], edx
mov edx, ebx
mov dword [esp], eax
mov eax, ebp
call fcn.00422041
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
jmp 0x422358
mov ecx, edi
call fcn.0041f481
mov ebx, dword [edi]
jmp 0x4220c3
mov ebx, 1
jmp 0x42219f