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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x45c
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov edx, dword [edx + 8]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 4]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x408], edx
mov edx, dword [ebp + 8]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x404], ecx
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x1c]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x3fc], esi
mov esi, ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x3f4], edx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x400], ebx
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x3f8], eax
mov eax, edx
and eax, 0xfff83fff
test ch, 1
cmovne eax, edx
test eax, 0x40000
mov dword [ebp - 0x3f0], eax
je 0x7dfadf
or ah, 0x40
test eax, 0x40000
mov dword [ebp - 0x3f0], eax
jne 0x7e043b
mov eax, dword [ebp - 0x3f0]
or eax, 0x10000
test dword [ebp - 0x3f0], 0x4000
cmove eax, dword [ebp - 0x3f0]
test ax, ax
mov dword [ebp - 0x3f0], eax
jns 0x7dfb17
or dword [ebp - 0x3f0], 0x20000
and dword [ebp - 0x3f0], 0xffffffbf
mov eax, dword [ebp - 0x3f0]
mov edx, dword [ebp - 0x408]
mov esi, dword [ebp - 0x40c]
and ah, 0xfe
test dword [ebp - 0x3f0], 0x20000
cmove eax, dword [ebp - 0x3f0]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x3f0], eax
and al, 0x7f
test dword [ebp - 0x3f0], 0x10000
cmove eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x3dc], esi
mov dword [ebp - 0x3f0], eax
and eax, 0xfffcfe7f
and ebx, 4
cmovne eax, dword [ebp - 0x3f0]
mov ebx, dword [ebp - 0x40c]
mov dword [ebp - 0x3f0], eax
and eax, 0xffff3baf
test cl, 2
cmovne eax, dword [ebp - 0x3f0]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x3f0], eax
and ah, 0xcf
and ecx, 0x40
cmove eax, dword [ebp - 0x3f0]
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x3e0], ebx
mov dword [ebp - 0x3f0], eax
and ah, 0x7f
test dword [ebp - 0x3f0], 0x20000000
cmove eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f0], eax
and ah, 0xbf
test dword [ebp - 0x3f0], 0x2000000
cmove eax, dword [ebp - 0x3f0]
add edx, 0x38
mov dword [ebp - 0x3e8], edx
mov edx, dword [ebp + 8]
add ecx, 0x38
mov dword [ebp - 0x3e4], ecx
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x408]
mov edx, dword [edx + 0x24]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x40c]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x3d0], edx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x198]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0x28]
mov esi, dword [esi + 0x2c]
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 0x3bc], esi
mov esi, dword [eax + 0x30]
mov dword [esp], edx
mov dword [esp + 8], 0x18c
mov dword [esp + 4], 0
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 0xc8], ebx
mov edx, dword [ebp - 0x40c]
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + 0x64]
mov dword [ebp - 0x104], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 8]
shr eax, 2
and eax, 1
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x3f0]
and eax, 0x1000
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x357]
and eax, 0xffffffc0
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x6c]
xor eax, 1
and eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0xd4], eax
mov eax, dword [0xc24aa0]
test eax, eax
je 0x7dfcd6
call eax
mov eax, dword [ebp - 0x3c8]
cmp dword [ebp - 0x3dc], eax
jbe 0x7e03e6
imul eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x3b8], esi
mov ecx, dword [ebp - 0x3d0]
mov esi, dword [ebp - 0x3c8]
mov edx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x3e0]
imul ecx, ebx
imul esi, ebx
add edx, dword [ebp - 0x3c8]
shr ebx, 1
add eax, 1
mov dword [ebp - 0x3a0], ecx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x3ac], edx
mov dword [ebp - 0x3a8], esi
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x428], eax
mov edi, dword [ebp - 0x3c8]
test edi, edi
jne 0x7dfd90
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3b4], edx
mov esi, dword [ebp - 0x3e0]
test esi, esi
je 0x7e0235
mov ecx, dword [ebp - 0x3c8]
imul ecx, dword [ebp - 0x424]
mov ebx, dword [ebp - 0x3dc]
sub ebx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x420], ebx
jmp 0x7dfe7f
mov edx, dword [ebp - 0x3e8]
mov esi, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0x3f4]
mov eax, dword [ebp - 0x418]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x3cc]
add eax, dword [ebp - 0x414]
mov ebx, dword [ebp - 0x3f0]
mov dword [esp + 0x1c], esi
mov esi, dword [ebp - 0x3c8]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x408]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x40c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c4]
mov dword [esp + 0x20], ebx
lea ebx, [ebp - 0x198]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp], edi
call fcn.007df470
test eax, eax
je 0x7e0000
add dword [ebp - 0x3cc], 1
mov ebx, dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x3bc]
add dword [ebp - 0x3b0], 1
add dword [ebp - 0x3c0], 1
mov dword [ecx], ebx
mov edx, dword [ebp - 0x3e0]
cmp dword [ebp - 0x3cc], edx
jae 0x7e0235
mov esi, dword [ebp - 0x3b4]
cmp dword [ebp - 0x3b0], esi
jl 0x7dfec4
mov edx, dword [ebp - 0x3b8]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x3e0]
je 0x7e02b4
add eax, dword [ebp - 0x3b0]
mov esi, dword [ebp - 0x3b0]
sub eax, dword [ebp - 0x3cc]
sub eax, 1
cmp eax, esi
mov dword [ebp - 0x3b4], eax
jle 0x7e02a0
imul eax, dword [ebp - 0x3c0], 0x1cc
mov esi, dword [ebp - 0x40c]
mov edx, dword [ebp - 0x404]
mov dword [ebp - 0x418], eax
mov edi, eax
mov eax, dword [ebp - 0x3cc]
mov ebx, dword [esi + 8]
mov edx, dword [edx + 0x44]
add eax, dword [ebp - 0x3a8]
mov esi, dword [ebp - 0x404]
add edi, dword [ebp - 0x3ec]
shl eax, 4
mov dword [ebp - 0x414], edx
mov edx, eax
add edx, dword [esi + 0x38]
mov esi, dword [ebp - 0x408]
lea ecx, [edi + 0x144]
add eax, dword [esi + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call dword [0xc24ab8]
mov edx, dword [edi + 0x148]
mov dword [edi + 0x154], eax
mov eax, dword [edi + 0x150]
cmp dword [edi + 0x14c], eax
cmovge eax, dword [edi + 0x14c]
mov ebx, dword [ebp - 0xb8]
cmp eax, edx
cmovl eax, edx
mov edx, dword [edi + 0x144]
cmp eax, edx
cmovl eax, edx
shl eax, 2
test ebx, ebx
mov dword [ebp - 0x3c4], eax
je 0x7dfdd2
mov ebx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x404]
add ebx, dword [ebp - 0x3cc]
mov ecx, dword [ebp - 0x424]
shl ebx, 3
mov eax, ebx
add eax, dword [edx + 0x3c]
mov edx, ebx
add edx, dword [esi + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0xc24aa8]
mov edx, dword [ebp - 0x404]
mov ecx, dword [ebp - 0x408]
mov esi, eax
mov eax, ebx
add eax, dword [edx + 0x40]
mov edx, dword [ebp - 0x424]
add ebx, dword [ecx + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ebx
call dword [0xc24aa8]
add eax, esi
mov dword [ebp - 0x108], eax
add dword [edi + 0x154], eax
mov ecx, dword [ebp - 0x108]
add dword [ebp - 0x3c4], ecx
jmp 0x7dfdd2
mov eax, dword [ebp - 0x408]
mov esi, dword [ebp - 0x404]
mov edx, dword [ebp - 0x3f8]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0x3fc]
mov esi, dword [esi + 0x44]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x42c], esi
mov esi, dword [edx]
mov edx, dword [eax]
mov eax, dword [ebp - 0x42c]
mov dword [esp + 0x14], ebx
mov ebx, dword [ebp - 0x3f0]
mov dword [esp + 0x28], edi
mov dword [esp], esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x3ec]
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp - 0x3cc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x40c]
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x198]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x3c8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3e8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3e4]
call fcn.007ddab0
mov edx, dword [ebp - 0x408]
mov ecx, dword [edx + 0xc]
test ch, 1
jne 0x7e036d
test ch, 0x10
je 0x7e02ee
mov edx, dword [ebp - 0x408]
mov esi, dword [ebp - 0x3f4]
mov ebx, dword [ebp - 0x3e8]
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x2c], esi
mov esi, dword [ebp - 0x3f0]
mov dword [esp + 0x24], ebx
mov ebx, dword [ebp - 0x3ec]
mov dword [esp + 0x30], eax
mov eax, dword [ebp - 0x3e4]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x3c8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x3cc]
mov dword [esp + 0x18], esi
lea esi, [ebp - 0x198]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.007ea5b0
add dword [ebp - 0x3cc], 1
mov eax, dword [ebp - 0x3cc]
mov esi, dword [ebp - 0x3bc]
add dword [ebp - 0x3b0], 1
add dword [ebp - 0x3c0], 1
mov dword [esi], eax
mov ecx, dword [ebp - 0xc0]
lea eax, [edi + 0x124]
mov esi, edi
test ecx, ecx
cmovne esi, eax
mov eax, dword [edi + 0xec]
test eax, eax
je 0x7e01d2
cmp eax, 2
jne 0x7dfe6d
xor edi, edi
mov ecx, dword [esi + edi*8 + 0x18]
cmp ecx, dword [ebp - 0x3a4]
mov ebx, ecx
jg 0x7e0197
mov eax, ecx
mov ebx, dword [ebp - 0x3a4]
not eax
cmp dword [ebp - 0x3a4], eax
cmovl ebx, eax
mov edx, dword [esi + edi*8 + 0x1c]
cmp ebx, edx
mov dword [ebp - 0x3a4], edx
jl 0x7e01b4
mov eax, edx
not eax
cmp ebx, eax
cmovge eax, ebx
mov dword [ebp - 0x3a4], eax
imul edx, edx
sub edi, 1
imul ecx, ecx
lea eax, [edx + ecx]
add dword [ebp - 0x3d8], eax
cmp edi, 0xfffffffd
jne 0x7e0176
add dword [ebp - 0x3d4], 3
mov ecx, dword [esi]
cmp dword [ebp - 0x3a4], ecx
mov edx, dword [esi + 4]
mov ebx, ecx
jl 0x7e01f4
mov eax, ecx
mov ebx, dword [ebp - 0x3a4]
not eax
cmp dword [ebp - 0x3a4], eax
cmovl ebx, eax
cmp ebx, edx
mov dword [ebp - 0x3a4], edx
jl 0x7e020d
mov eax, edx
not eax
cmp ebx, eax
cmovge eax, ebx
mov dword [ebp - 0x3a4], eax
imul edx, edx
imul ecx, ecx
add dword [ebp - 0x3d4], 1
lea eax, [edx + ecx]
mov edx, dword [ebp - 0x3e0]
add dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3cc], edx
jb 0x7dfe7f
mov esi, dword [ebp - 0x3d0]
add dword [ebp - 0x3ac], esi
mov eax, dword [ebp - 0x3a0]
add dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 0x40c]
mov ebx, dword [ebp - 0x41c]
sub eax, esi
cmp dword [ebp - 0x3dc], eax
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x3c8], ebx
jbe 0x7e0404
mov eax, esi
sub eax, 1
imul eax, edx
add dword [ebp - 0x3c0], eax
add dword [ebp - 0x3bc], 4
add dword [ebp - 0x3b8], 4
lea edx, [esi + ebx]
mov dword [ebp - 0x41c], edx
jmp 0x7dfd7a
mov dword [esp], 0
call sub.KERNEL32.dll_Sleep
sub esp, 4
jmp 0x7dfe6d
mov ecx, dword [ebp - 0x3c8]
cmp dword [ebp - 0x420], ecx
mov eax, dword [ebp - 0x428]
jbe 0x7dfea1
mov eax, dword [edx + 4]
xor edx, edx
test eax, eax
jle 0x7e02e1
mov ebx, dword [ebp - 0x3b8]
mov eax, dword [ebx + 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x428]
add eax, edx
jmp 0x7dfea1
mov edx, dword [ebp - 0x408]
mov esi, dword [ebp - 0x3c4]
mov ebx, dword [ebp - 0x3e4]
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x3c8]
mov dword [esp + 0x28], esi
mov esi, dword [ebp - 0x3e8]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x3f4]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x40c]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebp - 0x3cc]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x3ec]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x3f0]
mov dword [esp + 8], edx
mov edx, edi
mov dword [esp + 0x18], esi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x198]
call fcn.007def40
jmp 0x7e012b
mov eax, dword [edx + 0x14]
mov esi, dword [ebp - 0x3f4]
mov edx, dword [edx + 8]
mov ebx, dword [ebp - 0x3e8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp - 0x3e4]
mov dword [esp + 0x2c], esi
mov esi, dword [ebp - 0x3f0]
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x3c8]
mov dword [esp + 0x24], ebx
mov ebx, dword [ebp - 0x3ec]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x3cc]
mov dword [esp + 0x18], esi
lea esi, [ebp - 0x198]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.007eb050
jmp 0x7e012b
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
mov ecx, dword [ebp - 0x3a4]
mov dword [esp], ecx
call fcn.007d0bc0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x3a4]
mov edx, dword [ebp - 0x3d4]
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x58], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
or ah, 0x80
and dh, 8
cmove eax, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f0], eax
jmp 0x7dfadf