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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42aa20
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
mov ecx, ebp
call fcn.0040fdb0
cmp eax, 7
ja case.default.0x404e13
jmp dword [eax*4 + 0x405254]
mov eax, dword [esp + 0x84]
mov byte [eax], 0
jmp case.default.0x404e13
mov ecx, ebp
call fcn.00410440
push eax
push 0x43225c
jmp 0x404ef5
mov ecx, ebp
call fcn.00410770
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x8c]
push 0x432260
push eax
push ecx
call fcn.0041df61
add esp, 0x10
jmp case.default.0x404e13
mov ecx, ebp
call fcn.00410aa0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
sub esp, 8
fstp qword [esp]
push 0x432264
push edx
push eax
call fcn.0041df61
add esp, 0x14
jmp case.default.0x404e13
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.004101d0
mov eax, dword [eax + 4]
test eax, eax
jne 0x404eac
mov eax, 0x42c2ac
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push 0x43226c
push edx
push eax
call fcn.0041df61
add esp, 0x10
lea ecx, [esp + 0x40]
push 1
call fcn.00405be0
jmp case.default.0x404e13
mov ecx, ebp
call fcn.00410c30
test al, al
mov eax, 0x432270
jne 0x404eef
mov eax, 0x432274
push eax
push 0x432278
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
call fcn.0041df61
add esp, 0x10
jmp case.default.0x404e13
mov ecx, ebp
call fcn.00410e70
xor esi, esi
mov dword [esp + 0x8c], eax
test eax, eax
jle case.default.0x404e13
mov edi, dword [esp + 0x88]
push esi
push str.__d_
push 0x10
push 0x436b00
call fcn.0041df61
mov eax, dword [esp + 0xa0]
push 0x436b00
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00406040
add esp, 0x1c
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x80], 0
call fcn.00411210
push eax
push edi
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push edx
push eax
call fcn.00404de0
test eax, eax
push 1
lea ecx, [esp + 0x54]
sete bl
mov dword [esp + 0x7c], 0xffffffff
call fcn.00405be0
test bl, bl
jne case.default.0x404e13
mov eax, dword [esp + 0x8c]
inc esi
cmp esi, eax
jl 0x404f31
jmp case.default.0x404e13
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00411910
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
mov dword [esp + 0x84], 1
call fcn.00406640
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x404ff7
xor ecx, ecx
jmp 0x404ffc
mov ecx, dword [ecx + 8]
add ecx, eax
mov al, byte [ecx - 1]
mov esi, 0x436c30
cmp al, 0x2e
je 0x40500d
mov esi, 0x432284
mov cl, byte [esp + 0x84]
push 0
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.00405be0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x14]
push ebx
call fcn.00405d80
test al, al
je 0x40505f
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00405d60
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0x78], 2
je 0x405133
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00406450
push esi
push eax
lea eax, [esp + 0x74]
mov byte [esp + 0x8c], 3
push eax
call fcn.00406450
add esp, 0x18
push eax
push esi
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.00411680
push eax
push edi
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
call fcn.00404de0
test eax, eax
push 1
lea ecx, [esp + 0x64]
sete bl
mov byte [esp + 0x7c], 3
call fcn.00405be0
xor edx, edx
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x34]
cmp eax, edx
je 0x405114
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x405109
cmp al, 0xff
je 0x405109
dec al
mov byte [ecx], al
jmp 0x405114
push ecx
call fcn.0041d2d9
add esp, 4
xor edx, edx
test bl, bl
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
jne 0x405155
mov eax, dword [esp + 0x28]
add esi, 0x10
cmp esi, eax
jne 0x40507b
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x4051c9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4051c0
cmp al, 0xff
je 0x4051c0
dec al
mov byte [ecx], al
jmp 0x4051c9
mov eax, dword [esp + 0x14]
cmp eax, edx
je 0x40517c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x405171
cmp al, 0xff
je 0x405171
dec al
mov byte [ecx], al
jmp 0x40517c
push ecx
call fcn.0041d2d9
add esp, 4
xor edx, edx
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x78], 0xffffffff
je 0x4051b3
jmp 0x4051a0
xor edx, edx
push edx
mov ecx, esi
call fcn.004065a0
add esi, 0x10
cmp esi, edi
jne 0x40519e
mov esi, dword [esp + 0x24]
push esi
call fcn.0041d2d9
add esp, 4
xor eax, eax
jmp 0x40523c
push ecx
call fcn.0041d2d9
add esp, 4
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp esi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x78], 0xffffffff
je 0x4051f8
push ebx
mov ecx, esi
call fcn.004065a0
add esi, 0x10
cmp esi, edi
jne 0x4051e9
mov eax, dword [esp + 0x24]
push eax
call fcn.0041d2d9
add esp, 4
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x405218
mov eax, 0x42c2ac
mov edx, dword [esp + 0x80]
inc eax
push edx
push eax
call fcn.00402be0
test eax, eax
je 0x40522f
xor eax, eax
jmp 0x40523c
mov eax, dword [esp + 0x84]
mov byte [eax], 0
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14