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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512801
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x54a050]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
call fcn.004b3cbc
mov ecx, dword [eax + 4]
call fcn.004a9d00
xor esi, esi
mov dword [esp + 0x120], esi
call fcn.004a7b93
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41b952
push 0x80004005
call fcn.00401710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
push esi
push esi
mov byte [esp + 0x128], 1
mov edx, dword [ecx + 0x724]
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [0x6fbf30]
xor eax, eax
or ebx, 0xffffffff
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, 0x47c35000
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
jle 0x41baf5
mov edx, 0x744320
lea ecx, [ecx]
mov eax, dword [edx + 0x34]
lea ecx, [eax - 0x100]
cmp ecx, 0xd00
ja 0x41baeb
fld dword [edx]
sar eax, 8
and eax, 0xf
mov ecx, eax
fcomp dword [esp + ecx*4 + 0xac]
add dword [esp + ecx*4 + 0x2c], 1
fnstsw ax
test ah, 5
jp 0x41baeb
fld dword [edx]
mov dword [esp + ecx*4 + 0x6c], esi
fstp dword [esp + ecx*4 + 0xac]
add esi, 1
add edx, 0x48
cmp esi, edi
jl 0x41bab0
mov ecx, 0x6ea644
jmp 0x41bb06
mov edi, dword [0x6fbf30]
mov eax, dword [ecx]
test eax, eax
jl 0x41bb46
cmp eax, edi
jge 0x41bb46
lea edx, [eax + eax*8]
mov edx, dword [edx*8 + 0x744354]
mov eax, edx
sar eax, 8
and eax, 0xf
cmp dword [esp + eax*4 + 0x2c], 3
jl 0x41bb39
cmp edx, 0x100
jl 0x41bb39
cmp edx, 0xe00
jle 0x41bb48
mov dword [ecx - 8], ebx
mov dword [ecx - 4], ebx
mov dword [ecx - 0xc], 0
mov dword [ecx], ebx
add ecx, 0x34
cmp ecx, 0x6ea984
jl 0x41bb00
xor eax, eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + eax + 0x6c]
test edx, edx
lea edi, [esp + eax + 0x6c]
jl 0x41bdca
cmp dword [esp + eax + 0x2c], 3
jl 0x41bdca
xor esi, esi
mov eax, 0x6ea644
mov ecx, dword [eax]
test ecx, ecx
jl 0x41bb9f
cmp ecx, 0x7d0
jge 0x41bb9f
lea ecx, [ecx + ecx*8]
mov ecx, dword [ecx*8 + 0x744354]
lea ebx, [edx + edx*8]
cmp ecx, dword [ebx*8 + 0x744354]
je 0x41bbae
add eax, 0x34
add esi, 1
cmp eax, 0x6ea984
jl 0x41bb7b
jmp 0x41bbbf
mov eax, esi
imul eax, eax, 0x34
mov dword [eax + 0x6ea644], edx
mov dword [edi], 0xffffffff
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x18], esi
jl 0x41bbf9
xor ecx, ecx
mov eax, 0x6ea644
cmp dword [eax], 0xffffffff
je 0x41bbe8
add eax, 0x34
add ecx, 1
cmp eax, 0x6ea984
jl 0x41bbd0
mov dword [esp + 0x18], ecx
jmp 0x41bbf5
mov dword [esp + 0x18], ecx
imul ecx, ecx, 0x34
mov dword [ecx + 0x6ea644], edi
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x724]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
imul esi, esi, 0x34
mov edi, eax
mov eax, dword [esi + 0x6ea644]
lea eax, [eax + eax*8]
mov esi, dword [eax*8 + 0x744354]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0xf0], 1
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], 0
call fcn.00415400
mov byte [esp + 0x120], 2
mov eax, dword [eax]
mov ebx, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x41bd09
cmp dword [ebx + 0xc], 0
jl 0x41bcfb
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x41bcfb
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41bc9f
cmp eax, dword [esi]
jne 0x41bc9f
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41bcd5
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41be38
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004d2b20
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x41bcee
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea esi, [edi + 0x10]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jmp 0x41bd0d
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401970
mov esi, dword [esp + 0x14]
mov byte [esp + 0x120], 1
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
jg 0x41bd35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x64
or eax, ecx
jge 0x41bd56
push 0x64
lea ecx, [esp + 0x18]
call fcn.00401790
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x724]
lea ecx, [esp + 0xec]
push ecx
push 0
push 0x1007
push edx
mov dword [esp + 0x110], esi
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x41bd84
xor ecx, ecx
jmp 0x41bda3
mov ecx, esi
lea edx, [ecx + 1]
mov dword [esp + 0x1c], edx
lea ecx, [ecx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x41bd90
sub ecx, dword [esp + 0x1c]
js 0x41be3d
cmp ecx, dword [esi - 8]
jg 0x41be3d
mov dword [esi - 0xc], ecx
mov byte [ecx + esi], 0
mov ecx, dword [esp + 0x18]
mov dword [ebx + edi*4 + 0x6c4], ecx
push ebx
mov ebx, eax
call fcn.0041be50
mov eax, dword [esp + 0x24]
add eax, 4
cmp eax, 0x40
mov dword [esp + 0x24], eax
jl 0x41bb59
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
call fcn.0041c210
mov byte [esp + 0x120], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41be0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x23]
mov dword [esp + 0x120], 0xffffffff
call fcn.0040d690
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00401860
push 0x80070057
call fcn.00401710
int3