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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483350
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, esi
mov edi, ecx
call fcn.00421a90
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x421e1b
jmp 0x421e00
mov eax, dword [esi + 0x24]
add edi, 1
cmp edi, eax
jge 0x421e67
mov ecx, edi
mov edx, esi
call fcn.00421a90
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x421e00
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00421be0
cmp eax, ebx
mov dword [esp + 0x20], eax
jle 0x421e35
cmp eax, dword [esi + 0x24]
jl 0x421e3c
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x20], ecx
mov edi, dword [ebp + 0x10]
xor eax, eax
call fcn.00416770
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
call fcn.00440a5b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x421e6c
push 0x80004005
call fcn.00402a60
mov dword [ebp + 0xc], eax
jmp 0x421e1e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xa0], ebx
cmp ecx, dword [esi + 0x24]
jl 0x421ecf
add eax, 0xfffffff0
mov dword [esp + 0xa0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421eb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x1c], ebx
call fcn.00440a5b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4222b7
jmp 0x421ef5
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov word [esp + 0x34], bx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], ebx
cmp edi, dword [esp + 0x20]
mov byte [esp + 0xa0], 1
jge 0x4222c1
lea ebx, [esp + 0x24]
mov eax, edi
call fcn.00421a20
mov ebx, dword [ebp + 8]
mov dword [esp + 0x30], eax
movzx eax, di
cmp eax, dword [ebx + 0x24]
jl 0x421f46
xor esi, esi
jmp 0x421f51
mov esi, dword [ebx + 4]
lea eax, [eax + eax*2]
shl eax, 4
add esi, eax
cmp dword [esi], 2
je 0x422308
movzx ecx, byte [esi + 0x2c]
movzx eax, word [esi + 0xc]
test ax, ax
mov dword [esp + 0x60], ecx
movzx ecx, word [esi + 0xe]
jbe 0x421f77
movzx edx, ax
shl edx, 0x10
add ecx, edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x3c], ecx
call fcn.00426d30
add esp, 4
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 2
call fcn.00402de0
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421fc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x38]
call fcn.00426b10
mov ecx, dword [ebx + 0x18]
mov ebx, dword [esi + 8]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x1d4]
call fcn.00427130
mov esi, dword [esi + 4]
imul esi, eax
mov ecx, dword [esp + 0x1c]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x38]
cmp edx, 0x20
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edi
jne 0x422085
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebx + 8]
test esi, esi
jne 0x42202a
mov dword [esp + 0x3c], 1
jmp 0x42204d
lea eax, [esi - 1]
test eax, eax
jl 0x422316
cmp eax, esi
jge 0x422316
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ebx + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
test esi, esi
mov dword [esp + 0x5c], 1
jl 0x422316
lea eax, [esi + 1]
mov edi, ebx
call fcn.00416770
lea edi, [esi + esi*2]
shl edi, 4
add edi, dword [ebx + 4]
lea esi, [esp + 0x34]
call fcn.00416ae0
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
jmp 0x422279
call fcn.00426b10
test eax, eax
jne 0x422240
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 8]
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x4221d3
mov dword [esp + 0x14], esi
add esi, 0xffffffff
mov eax, esi
js 0x4220e7
lea edx, [eax + eax*2]
shl edx, 4
test eax, eax
mov dword [esp + 0x14], eax
jl 0x422316
cmp eax, ebx
jge 0x422316
mov ecx, dword [edi + 4]
add ecx, edx
cmp dword [ecx + 8], 0
jne 0x4220e0
sub eax, 1
sub edx, 0x30
test eax, eax
jge 0x4220b5
jmp 0x4220e7
add eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp eax, esi
jge 0x4221c9
mov dword [esp + 0x18], eax
test esi, esi
jl 0x422316
mov edx, dword [edi + 8]
cmp esi, edx
jge 0x422316
mov ecx, dword [edi + 4]
lea eax, [esi + esi*2]
shl eax, 4
add eax, ecx
cmp dword [eax + 4], 0x20
jne 0x4221c9
test esi, esi
jl 0x422316
cmp esi, edx
jge 0x422316
lea eax, [esi + esi*2]
shl eax, 4
add eax, ecx
cmp dword [eax + 8], 0
jne 0x4221c9
test esi, esi
jl 0x422316
cmp esi, edx
jge 0x422316
lea edi, [esi + esi*2]
shl edi, 4
add edi, ecx
lea ecx, [esp + 0x64]
push ecx
call fcn.00416b30
mov edi, dword [ebp + 0x10]
push edi
mov ecx, esi
mov byte [esp + 0xa4], 3
call fcn.004165e0
mov edx, dword [esp + 0x18]
push edx
push edi
lea ebx, [esp + 0x6c]
mov dword [esp + 0x94], 0
call fcn.00416390
mov eax, 1
add dword [esp + 0x18], eax
mov byte [esp + 0xa0], al
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4220f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4220f7
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov esi, ecx
mov edx, dword [esp + 0x38]
add edx, 0xffffffd0
cmp edx, 9
ja 0x42222b
mov ecx, dword [edi + 8]
test ecx, ecx
jle 0x422216
lea eax, [ecx - 1]
test eax, eax
jl 0x422316
cmp eax, ecx
jge 0x422316
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edi + 4]
push esi
mov eax, dword [eax + 8]
push edi
lea ebx, [esp + 0x3c]
mov dword [esp + 0x44], eax
call fcn.00416390
jmp 0x422279
push esi
push edi
lea ebx, [esp + 0x3c]
mov dword [esp + 0x44], 1
call fcn.00416390
jmp 0x422279
push esi
push edi
lea ebx, [esp + 0x3c]
mov dword [esp + 0x44], 0
call fcn.00416390
jmp 0x422279
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebx + 8]
test esi, esi
mov dword [esp + 0x3c], 1
jl 0x422316
lea eax, [esi + 1]
mov edi, ebx
call fcn.00416770
lea edi, [esi + esi*2]
shl edi, 4
add edi, dword [ebx + 4]
lea esi, [esp + 0x34]
call fcn.00416ae0
mov ecx, dword [ebx + 8]
mov dword [esp + 0x14], ecx
add dword [esp + 0x1c], 1
mov edi, dword [esp + 0x30]
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4222aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00440a5b
test eax, eax
jne 0x421ef0
push 0x80004005
call fcn.00402a60
mov byte [esp + 0xa0], bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4222e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x421ea6
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x48]
jmp 0x4222c8
call fcn.0043cb4a
int3