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

Disassembly:
push 0xffffffffffffffff
push 0x41bc6c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0xdb7604]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
call dword [0x41e41c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0
call dword [0x41e41c]
mov esi, dword [esp + 0x64]
mov eax, dword [esi]
mov eax, dword [eax + 4]
dec eax
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov byte [esp + 0x64], 1
call dword [0x41e320]
mov ax, word [eax]
mov ebp, dword [0x41e154]
mov ebx, dword [0x41e31c]
cmp ax, 0x2f
jne 0x40dad0
mov edx, dword [esi]
mov eax, dword [edx + 4]
dec eax
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call ebx
push eax
lea ecx, [esp + 0x18]
call dword [0x41e204]
lea ecx, [esp + 0x64]
call dword [0x41e510]
jmp 0x40dad7
push esi
lea ecx, [esp + 0x18]
call ebp
mov edi, dword [esp + 0x68]
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
dec eax
push eax
lea edx, [esp + 0x68]
push edx
mov ecx, edi
call dword [0x41e320]
cmp word [eax], 0x2f
jne 0x40db1c
mov eax, dword [edi]
mov eax, dword [eax + 4]
dec eax
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call ebx
push eax
lea ecx, [esp + 0x1c]
call dword [0x41e204]
lea ecx, [esp + 0x64]
call dword [0x41e510]
jmp 0x40db23
push edi
lea ecx, [esp + 0x1c]
call ebp
mov ebp, dword [0x41e23c]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 2
call dword [0x41e318]
test al, al
je 0x40de19
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call dword [0x41e158]
push ecx
mov eax, esp
mov dword [eax], 0xffffffff
mov dword [esp + 0x68], esp
mov eax, 0x6303
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call dword [0x41e314]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 4
call fcn.0040b490
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
mov dword [esp + 0x48], esi
mov edx, dword [eax + 0xc]
lea eax, [eax + edx*4 + 0x10]
mov dword [esp + 0x4c], eax
mov eax, 1
mov dword [esp + 0x50], eax
mov byte [esp + 0x5c], 5
cmp esi, dword [esp + 0x4c]
je 0x40dd57
test eax, eax
je 0x40dd43
push ecx
mov byte [esp + 0x30], 0x2f
mov edx, dword [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call dword [0x41e308]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00405940
push esi
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x74], 6
call fcn.00401000
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 8
call dword [0x41e510]
push ecx
mov byte [esp + 0x38], 0x2f
mov eax, dword [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call dword [0x41e308]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00405940
push esi
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x74], 9
call fcn.00401000
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 0xb
call dword [0x41e510]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x40]
call ebp
mov ecx, eax
mov byte [esp + 0x5c], 0xc
call dword [0x41e318]
lea ecx, [esp + 0x3c]
mov bl, al
mov byte [esp + 0x5c], 0xb
call dword [0x41e234]
test bl, bl
je 0x40dcb1
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x24]
call dword [0x41e3dc]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0040da30
jmp 0x40dd1f
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
lea edi, [eax + ecx*4 + 0x10]
lea ebx, [eax + edx*4 + 0x10]
cmp edi, ebx
je 0x40dcec
lea ecx, [ecx]
push esi
push edi
call dword [0x41e208]
add esp, 8
test al, al
jne 0x40dce8
add edi, 4
cmp edi, ebx
jne 0x40dcd0
jmp 0x40dcec
cmp edi, ebx
jne 0x40dd1f
lea eax, [esp + 0x64]
push eax
call dword [0x41e430]
add esp, 4
test al, al
je 0x40dd0c
lea ecx, [esp + 0x64]
push ecx
call dword [0x41e1f0]
add esp, 4
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x6c]
push eax
call dword [0x41e310]
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 8
call dword [0x41e510]
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 5
call dword [0x41e510]
mov esi, dword [esp + 0x48]
xor eax, eax
add esi, 4
xor eax, 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
jne 0x40dbbc
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov ebp, dword [0x41e2a8]
mov byte [esp + 0x5c], 4
test ecx, ecx
je 0x40dd83
cmp ecx, 0xffffffff
je 0x40ddb5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x40ddb5
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
lea edi, [eax + ecx*4 + 0x10]
mov ebx, eax
cmp edi, esi
je 0x40ddaf
jmp 0x40dda0
sub esi, 4
mov ecx, esi
call dword [0x41e510]
cmp esi, edi
jne 0x40dda0
push ebx
call ebp
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov byte [esp + 0x5c], 3
test ecx, ecx
je 0x40dddb
cmp ecx, 0xffffffff
je 0x40de05
or edx, 0xffffffff
lock xadd dword [eax], edx
setne al
test al, al
jne 0x40de05
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
lea edi, [eax + edx*4 + 0x10]
mov ebx, eax
cmp edi, esi
je 0x40ddff
nop
sub esi, 4
mov ecx, esi
call dword [0x41e510]
cmp esi, edi
jne 0x40ddf0
push ebx
call ebp
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 2
call dword [0x41e454]
jmp 0x40dec5
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call dword [0x41e30c]
mov edi, eax
push ecx
mov byte [esp + 0x6c], 0x2f
mov edx, dword [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x64], 0xd
call dword [0x41e308]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00405940
push edi
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x74], 0xe
call fcn.00401000
add esp, 0x18
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0x10
call dword [0x41e510]
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 0x11
call dword [0x41e510]
lea eax, [esp + 0x64]
push eax
call dword [0x41e430]
add esp, 4
test al, al
je 0x40dea7
lea ecx, [esp + 0x64]
push ecx
call dword [0x41e1f0]
add esp, 4
lea edx, [esp + 0x64]
push edx
push esi
call dword [0x41e310]
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 2
call dword [0x41e510]
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 1
call dword [0x41e234]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0
call dword [0x41e510]
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0xffffffff
call dword [0x41e510]
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8