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

Disassembly:
jmp 0x431430
sub esp, 0x4c
mov eax, dword [0x9798bc]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x108]
push ebx
push ebp
push esi
lea ecx, [eax + 0xb9c]
push edi
add eax, 0x734
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x60]
mov eax, dword [edi + 0x34]
test eax, eax
je 0x43147d
lea edx, [esp + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0
mov ebp, dword [edi]
mov edx, dword [edi + 0x10]
mov esi, dword [esp + 0x78]
mov eax, ebp
sub eax, edx
mov dword [esp + 0x24], eax
sub esi, dword [esp + 0x74]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], edx
xor edx, edx
sar esi, 5
inc esi
div esi
mov ebx, dword [esp + 0x68]
mov ecx, dword [edi + 4]
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x20], ecx
push ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
sub eax, edx
xor edx, edx
add eax, dword [ebx]
mov dword [esp + 0x3c], eax
adc edx, dword [ebx + 4]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x20], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], eax
call fcn.005dfdb0
lea ecx, [esp + 0x24]
push ecx
push eax
push 0
push 0xc
lea edx, [esp + 0x54]
push esi
push edx
mov dword [esp + 0x30], eax
call fcn.005df450
add esp, 0x1c
test eax, eax
je 0x431513
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret
mov esi, dword [esp + 0x74]
cmp esi, dword [esp + 0x78]
ja 0x43157f
add esi, 0x18
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov dword [esi - 0x10], eax
lea eax, [esi - 0x18]
push ebp
push eax
push edx
mov dword [esi], ecx
call fcn.00409f16
mov ecx, dword [esp + 0x28]
mov edi, eax
add ecx, edi
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x1c], ecx
je 0x4318fd
mov eax, dword [esi - 4]
mov dword [esi], eax
lea eax, [esi - 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.005df520
mov eax, dword [esp + 0x80]
add esi, 0x20
lea edx, [esi - 0x18]
add esp, 8
cmp edx, eax
jbe 0x431520
mov edi, dword [esp + 0x60]
mov edx, dword [edi + 0x30]
test edx, edx
je 0x43161e
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov edi, edx
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
lea ecx, [edi + ebp]
cmp ecx, edx
mov dword [esp + 0x78], eax
ja 0x4315cf
mov esi, dword [eax + 0xc]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x28], ebp
jmp 0x4315ed
mov eax, dword [eax + 0xc]
push ebp
push eax
push ebx
call dword [ebx + 0x58]
add esp, 0xc
test eax, eax
je 0x4315e9
mov edi, 1
jmp 0x4318fd
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
add edx, ebp
dec ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x14], ecx
dec dword [esp + 0x68]
jne 0x431609
xor edi, edi
jmp 0x4318d2
lea ecx, [esp + 0x40]
push 1
push ecx
call fcn.005df5d0
mov edi, dword [esp + 0x68]
add esp, 8
jmp 0x431626
mov dword [esp + 0x14], 0
cmp dword [esp + 0x48], 1
jbe 0x43178c
mov edx, dword [esp + 0x28]
cmp dword [edx], 0
jne 0x4315df
lea ebx, [ebx]
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x78], esi
je 0x43168e
mov edi, dword [esp + 0x60]
lea ebp, [esi + 0xc]
push ebp
add edi, 0x30
lea ecx, [esp + 0x24]
push edi
push ecx
call eax
add esp, 0xc
test eax, eax
je 0x43170d
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp]
mov edi, dword [edi]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x78]
mov ebp, edx
mov eax, dword [esp + 0x7c]
test eax, eax
mov ecx, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x28]
jne 0x4316d0
lea eax, [edi + ebp]
cmp eax, ecx
mov eax, dword [esp + 0x10]
lea ebp, [esi + 0xc]
ja 0x4316cb
mov esi, dword [ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x28]
mov esi, dword [esp + 0x78]
add ecx, eax
mov dword [ebx + 0x28], ecx
jmp 0x431703
mov ecx, dword [ebp]
jmp 0x4316f2
mov edx, dword [esp + 0x18]
lea eax, [edi + edx]
mov edx, dword [esp + 0x24]
cmp eax, ecx
mov eax, dword [esp + 0x18]
lea ebp, [esi + 0xc]
ja 0x4316ed
mov esi, dword [ebp]
add esi, edx
jmp 0x4316ad
mov ecx, dword [ebp]
add ecx, edx
push eax
push ecx
push ebx
call dword [ebx + 0x58]
add esp, 0xc
test eax, eax
jne 0x4315df
dec dword [esp + 0x68]
je 0x431602
mov edx, dword [ebp]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x14]
add edx, eax
dec ecx
mov dword [ebp], edx
mov dword [esi + 0x14], ecx
jne 0x431740
mov edx, dword [esp + 0x64]
push eax
push esi
push edx
call fcn.00409f16
mov edi, eax
add esp, 0xc
test edi, edi
je 0x431758
cmp edi, 0xffffffff
je 0x4318fd
lea eax, [esp + 0x40]
push 1
push eax
call fcn.005df5d0
mov ebp, dword [esp + 0x18]
add esp, 8
jmp 0x431640
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.005df760
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.0040940d
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x24]
add esp, 0x14
cmp eax, 1
ja 0x431631
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
mov esi, dword [ecx + 4]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esi + 8], edx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x78], esi
mov dword [esi + 0x18], eax
je 0x4317d1
lea eax, [esi + 0xc]
push eax
add edi, 0x30
lea edx, [esp + 0x24]
push edi
push edx
call ecx
add esp, 0xc
test eax, eax
jne 0x4317d1
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
add ecx, ebp
dec eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x68]
cmp dword [esi + 0x14], ecx
jbe 0x4317e4
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x14]
sub ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x431849
mov edi, dword [ebx + 0x28]
imul eax, ebp
mov edx, dword [ebx + 0x2c]
lea ecx, [eax + edi]
cmp ecx, edx
ja 0x431833
mov esi, dword [esi + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x78]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x28]
imul ecx, ebp
mov esi, dword [esp + 0x78]
add eax, ecx
mov dword [ebx + 0x28], eax
jmp 0x4318b4
mov edx, dword [esi + 0xc]
push eax
push edx
push ebx
call dword [ebx + 0x58]
add esp, 0xc
test eax, eax
jne 0x4315df
jmp 0x4318b4
imul eax, dword [esp + 0x10]
mov ebp, dword [esi + 0xc]
add ebp, dword [esp + 0x24]
add eax, ebp
cmp ebp, eax
mov dword [esp + 0x74], eax
je 0x4318b0
nop
mov edi, dword [ebx + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x2c]
lea eax, [edi + edx]
cmp eax, ecx
ja 0x431891
mov ecx, edx
mov eax, ecx
shr ecx, 2
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x28]
mov esi, dword [esp + 0x78]
add eax, edx
mov dword [ebx + 0x28], eax
jmp 0x4318a2
push edx
push ebp
push ebx
call dword [ebx + 0x58]
add esp, 0xc
test eax, eax
jne 0x4315df
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
add ebp, ecx
cmp ebp, eax
jne 0x431860
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
push ebp
push esi
push ecx
call fcn.00409f16
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x4318d2
test edi, edi
jne 0x4317d1
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 0x18]
sub eax, esi
cmp eax, ecx
jb 0x4318e9
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea eax, [esp + 0x40]
push eax
call fcn.005df500
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret