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

Disassembly:
push 0xffffffffffffffff
push 0x4318a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
xor ebx, ebx
mov ebp, ecx
mov eax, 0x434418
push edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
cmp edi, ebx
mov byte [esp + 0x6c], 1
ja 0x40d866
cmp esi, ebx
jbe 0x40d942
mov ebp, dword [esp + 0x74]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push esi
push ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0040ec90
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0x18
sub esi, eax
mov eax, dword [esp + 0x78]
sbb edi, ecx
cmp edx, 0x61746475
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x54], 0x434234
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
jne 0x40d8e2
cmp ebp, ebx
je 0x40d9e9
cmp edx, 0x6b617274
jne 0x40d8f2
cmp ebp, ebx
je 0x40d98a
cmp edx, 0x544d5355
jne 0x40d902
cmp ebp, 0x64697575
je 0x40d917
push ebp
push edx
push ecx
mov ecx, dword [esp + 0x8c]
push eax
lea edx, [esp + 0x64]
push edx
call fcn.0040c2d0
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x54]
call fcn.00407050
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub esi, ecx
sbb edi, edx
cmp edi, ebx
ja 0x40d866
jb 0x40d942
cmp esi, ebx
ja 0x40d866
cmp byte [ebp + 0x58], bl
je 0x40da05
cmp byte [ebp + 0x5c], bl
lea esi, [ebp + 0x5c]
je 0x40d96c
push esi
mov ecx, ebp
call fcn.00416880
test eax, eax
jbe 0x40d96c
lea eax, [esp + 0x34]
push eax
push esi
mov ecx, ebp
call fcn.00416c10
cmp dword [esp + 0x3c], ebx
jbe 0x40da2e
lea ecx, [esp + 0x34]
push ecx
push 0x64697575
push 0x544d5355
jmp 0x40da22
mov dword [esp + 0x44], 0x434418
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x44]
push edx
push ecx
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
mov byte [esp + 0x7c], 2
call fcn.0040d6b0
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x84]
push ebx
push 0x6b617274
call fcn.00407720
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 1
mov dword [esp + 0x50], ebx
call fcn.004076f0
jmp 0x40d91b
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push ecx
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call fcn.0040c3b0
jmp 0x40d91b
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0040cea0
cmp dword [esp + 0x2c], ebx
jbe 0x40da2e
lea eax, [esp + 0x24]
push eax
push ebx
push 0x61746475
mov ecx, dword [esp + 0x8c]
call fcn.00407720
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], bl
mov dword [esp + 0x40], ebx
call fcn.004076f0
push ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x30], ebx
call fcn.004076f0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10