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

Disassembly:
push 0xffffffffffffffff
push 0x5368f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d4]
mov ebp, dword [esp + 0x1d0]
xor ebx, ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c8], ebx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [esp + 0x68]
call fcn.004122d0
lea ecx, [esp + 0x1c]
call fcn.00402c10
lea ecx, [esp + 0x18]
call fcn.00402c10
lea ecx, [esp + 0x20]
call fcn.00402c10
lea ecx, [esp + 0x24]
call fcn.00402c10
lea ecx, [esp + 0x54]
call fcn.00402c10
mov byte [esp + 0x1c8], 7
mov eax, dword [ebp + 0x18]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x3c], ebx
jle 0x4df26f
lea ecx, [ecx]
cmp edi, ebx
jne 0x4df0c4
cmp dword [ebp + 0x18], ebx
jle 0x4df377
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
lea ecx, [esp + 0x24]
call fcn.00402cf0
cmp dword [ebp + 0x18], ebx
jle 0x4df377
mov eax, dword [ebp + 0x14]
add eax, 8
push eax
lea ecx, [esp + 0x28]
call fcn.00402cf0
cmp dword [ebp + 0x18], ebx
jle 0x4df377
mov eax, dword [ebp + 0x14]
add eax, 0xc
push eax
lea ecx, [esp + 0x58]
call fcn.00402cf0
cmp dword [ebp + 0x18], ebx
jle 0x4df377
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x3c], edx
cmp edi, ebx
jl 0x4df377
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
lea esi, [edi + edi*2]
add esi, esi
add esi, esi
add esi, esi
add eax, esi
lea ecx, [esp + 0x20]
push ecx
add eax, 4
push eax
call fcn.00403310
add esp, 8
test al, al
je 0x4df265
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
add eax, esi
add eax, 8
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00403310
add esp, 8
test al, al
je 0x4df265
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x3c]
add eax, esi
cmp ecx, dword [eax + 0x10]
jne 0x4df265
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
lea ecx, [esp + 0x18]
call fcn.00402c30
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 8
call fcn.00403460
test al, al
jne 0x4df192
push 0x5584b4
lea ecx, [esp + 0x18]
call fcn.00402dd0
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
add eax, esi
add eax, 8
push eax
lea ecx, [esp + 0x18]
call fcn.00402db0
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
add eax, esi
cmp dword [eax + 0x14], ebx
je 0x4df1e2
push ebx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00402c30
push ecx
mov byte [esp + 0x1d4], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push str.stat
call fcn.00402c50
mov byte [esp + 0x1d4], 8
call fcn.004deda0
cmp eax, 1
je 0x4df254
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00402db0
push 0x555e28
lea ecx, [esp + 0x1c]
call fcn.00402dd0
cmp edi, dword [ebp + 0x18]
jge 0x4df377
mov eax, dword [ebp + 0x14]
add eax, esi
cmp dword [eax + 0x14], ebx
je 0x4df254
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00402c30
push ecx
mov byte [esp + 0x1d4], 0xa
mov ecx, esp
mov dword [esp + 0x38], esp
push str.stat
call fcn.00402c50
mov byte [esp + 0x1d4], 8
call fcn.004dec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c8], 7
call fcn.00402cd0
inc edi
cmp edi, dword [ebp + 0x18]
jl 0x4df060
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402fb0
push 0x555e28
push eax
call fcn.00408cf0
add esp, 8
lea ecx, [esp + 0x14]
mov bl, al
call fcn.00402cd0
test bl, bl
je 0x4df2d8
lea ecx, [esp + 0x18]
call fcn.00408de0
dec eax
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.00403040
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc], 0xb
call fcn.00402cf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c8], 7
call fcn.00402cd0
mov esi, dword [ebp + 0x18]
add esi, 0xffffffff
js 0x4df355
lea ebx, [esi + esi*2]
add ebx, ebx
add ebx, ebx
add ebx, ebx
lea edi, [ebp + 0x10]
test esi, esi
jl 0x4df377
cmp esi, dword [edi + 8]
jge 0x4df377
mov eax, dword [edi + 4]
add eax, ebx
lea ecx, [esp + 0x20]
push ecx
add eax, 4
push eax
call fcn.00403310
add esp, 8
test al, al
je 0x4df34d
cmp esi, dword [edi + 8]
jge 0x4df377
mov eax, dword [edi + 4]
add eax, ebx
lea edx, [esp + 0x24]
push edx
add eax, 8
push eax
call fcn.00403310
add esp, 8
test al, al
je 0x4df34d
cmp esi, dword [edi + 8]
jge 0x4df377
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x3c]
add eax, ebx
cmp ecx, dword [eax + 0x10]
jne 0x4df34d
push edi
mov eax, esi
call fcn.004dfd40
dec esi
sub ebx, 0x18
test esi, esi
jge 0x4df2f4
lea ecx, [esp + 0x18]
call fcn.00403460
test al, al
je 0x4df37c
mov esi, dword [esp + 0x60]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00402c30
jmp 0x4dfb72
call fcn.004e2568
push 0x5584b8
lea ecx, [esp + 0x5c]
call fcn.00402c50
lea ecx, [esp + 0x30]
call fcn.00402c10
push 0
mov byte [esp + 0x1cc], 0xd
call fcn.005038ec
push edx
push eax
lea eax, [esp + 0x3c]
push 0x558710
push eax
call fcn.00404a60
add esp, 0x14
lea ecx, [esp + 0x38]
call fcn.00402c10
mov bl, 0xe
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], bl
call fcn.00403460
test al, al
jne 0x4df4fe
lea ecx, [esp + 0x1d8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00403100
lea ecx, [esp + 0x1e8]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x1e0], 0xf
call fcn.00403100
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1ec], 0x10
call fcn.00403100
lea ecx, [ebp + 0x24]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x1f8], 0x11
call fcn.00403100
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x204], 0x12
call fcn.00403100
lea ecx, [esp + 0x94]
push ecx
push eax
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x210], 0x13
call fcn.00403100
add esp, 0x48
push ecx
mov ecx, esp
mov byte [esp + 0x1cc], 0x14
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x28]
push edx
push eax
push ecx
call fcn.00403100
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.004de1f0
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1cc], 0x15
call fcn.00402cf0
lea ecx, [esp + 0x14]
call fcn.00402cd0
lea ecx, [esp + 0x5c]
call fcn.00402cd0
lea ecx, [esp + 0x40]
call fcn.00402cd0
lea ecx, [esp + 0x44]
call fcn.00402cd0
lea ecx, [esp + 0x4c]
call fcn.00402cd0
lea ecx, [esp + 0x48]
call fcn.00402cd0
mov byte [esp + 0x1c8], bl
lea ecx, [esp + 0x2c]
call fcn.00402cd0
mov esi, dword [esp + 0x3c]
jmp 0x4df73c
mov esi, dword [esp + 0x3c]
test esi, esi
jle 0x4df648
lea ecx, [esp + 0x14]
call fcn.00402c10
push esi
lea eax, [esp + 0x18]
push 0x558710
push eax
mov byte [esp + 0x1d4], 0x16
call fcn.00404a60
lea ecx, [esp + 0x1e4]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00403100
lea ecx, [esp + 0x1f4]
push ecx
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x1ec], 0x17
call fcn.00403100
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1f8], 0x18
call fcn.00403100
lea ecx, [ebp + 0x24]
push ecx
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x204], 0x19
call fcn.00403100
lea ecx, [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x210], 0x1a
call fcn.00403100
add esp, 0x48
lea ecx, [esp + 0x58]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x1d4], 0x1b
call fcn.00403100
add esp, 8
mov ecx, esp
mov dword [esp + 0x6c], esp
lea edx, [esp + 0x18]
push edx
push eax
push ecx
mov byte [esp + 0x1d8], 0x1c
call fcn.00403100
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.004de1f0
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1cc], 0x1d
call fcn.00402cf0
lea ecx, [esp + 0x2c]
call fcn.00402cd0
lea ecx, [esp + 0x48]
call fcn.00402cd0
lea ecx, [esp + 0x4c]
call fcn.00402cd0
lea ecx, [esp + 0x44]
call fcn.00402cd0
lea ecx, [esp + 0x40]
call fcn.00402cd0
lea ecx, [esp + 0x5c]
call fcn.00402cd0
lea ecx, [esp + 0x28]
call fcn.00402cd0
lea ecx, [esp + 0x14]
jmp 0x4df730
lea eax, [esp + 0x1d8]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00403100
lea ecx, [esp + 0x1e8]
push ecx
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x1e0], 0x1e
call fcn.00403100
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1ec], 0x1f
call fcn.00403100
lea ecx, [ebp + 0x24]
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x1f8], 0x20
call fcn.00403100
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x204], 0x21
call fcn.00403100
add esp, 0x38
mov ecx, esp
mov dword [esp + 0x6c], esp
lea edx, [esp + 0x5c]
push edx
push eax
push ecx
mov byte [esp + 0x1d8], 0x22
call fcn.00403100
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.004de1f0
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1cc], 0x23
call fcn.00402cf0
lea ecx, [esp + 0x28]
call fcn.00402cd0
lea ecx, [esp + 0x2c]
call fcn.00402cd0
lea ecx, [esp + 0x48]
call fcn.00402cd0
lea ecx, [esp + 0x4c]
call fcn.00402cd0
lea ecx, [esp + 0x44]
call fcn.00402cd0
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c8], bl
call fcn.00402cd0
lea ecx, [esp + 0x24]
call fcn.00403460
test al, al
jne 0x4df83e
lea ecx, [esp + 0x54]
call fcn.00420f50
push eax
lea ecx, [esp + 0x7c]
call fcn.00401500
lea ecx, [esp + 0xcc]
push ecx
mov ecx, eax
mov byte [esp + 0x1cc], 0x24
call fcn.004e1ac0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 0x25
call fcn.00420f50
push eax
lea ecx, [esp + 0xb4]
call fcn.00401500
lea edx, [esp + 0x94]
push edx
mov ecx, eax
mov byte [esp + 0x1cc], 0x26
call fcn.004e1ac0
add esp, 4
mov edi, eax
mov ecx, esi
mov byte [esp + 0x1c8], 0x27
call fcn.00401560
push eax
mov ecx, edi
call fcn.00401560
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1ec]
push edx
mov edx, dword [esp + 0x1ec]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x40]
push str.type_sfrom_sversion_skeys_ssn_scode_stime_sgkey_sgname_s
push ecx
call fcn.00404a60
add esp, 0x2c
lea ecx, [esp + 0x94]
call fcn.00401540
lea ecx, [esp + 0xb0]
call fcn.00401540
lea ecx, [esp + 0xcc]
call fcn.00401540
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c8], bl
call fcn.00401540
jmp 0x4df8b9
test esi, esi
jle 0x4df87f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x28]
push esi
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1e8]
push ecx
mov ecx, dword [esp + 0x1e8]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push str.type_sfrom_sversion_skeys_ssn_scode_stime_sarea_d
push eax
call fcn.00404a60
add esp, 0x28
jmp 0x4df8b9
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1e4]
push eax
mov eax, dword [esp + 0x1e4]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x38]
push str.type_sfrom_sversion_skeys_ssn_scode_stime_s
push edx
call fcn.00404a60
add esp, 0x24
lea ecx, [esp + 0x1c]
call fcn.00420f50
push eax
lea ecx, [esp + 0x7c]
call fcn.00401500
mov ecx, eax
lea esi, [esp + 0xe8]
mov byte [esp + 0x1c8], 0x28
call fcn.004bf120
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c8], 0x2a
call fcn.00401540
push 0x200
mov dword [esp + 0x78], 0x200
call fcn.004e1be4
push 0x200
mov dword [esp + 0x74], eax
call fcn.004e1be4
add esp, 8
mov dword [esp + 0x70], eax
mov ecx, esi
mov byte [esp + 0x1c8], 0x2b
call fcn.00402000
push eax
mov ecx, esi
call fcn.004014b0
mov ebx, eax
lea esi, [esp + 0x70]
call fcn.004c12a0
push eax
lea ecx, [esp + 0x124]
call fcn.00401410
lea ecx, [esp + 0x120]
mov byte [esp + 0x1c8], 0x2c
call fcn.004014b0
mov ecx, eax
lea eax, [esp + 0x78]
call fcn.004bf0f0
mov ecx, eax
mov byte [esp + 0x1c8], 0x2d
call fcn.00401560
push eax
lea ecx, [esp + 0x54]
call fcn.00402c50
lea ecx, [esp + 0x78]
call fcn.00401540
lea ecx, [esp + 0x50]
call fcn.00408de0
mov esi, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00402c10
add esi, 0xffffffff
mov byte [esp + 0x1c8], 0x30
js 0x4dfa05
nop
test esi, esi
jl 0x4dfa51
lea ecx, [esp + 0x50]
call fcn.00408de0
cmp esi, eax
jg 0x4dfa51
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + esi*2]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x34]
call fcn.00408de0
mov edi, eax
lea ebx, [edi + 1]
push ebx
lea ecx, [esp + 0x38]
call fcn.00403440
mov dx, word [esp + 0x28]
push ebx
lea ecx, [esp + 0x38]
mov word [eax + edi*2], dx
call fcn.00403aa0
sub esi, 1
jns 0x4df9b0
mov ebx, dword [esp + 0x2c]
mov ecx, 0x1f
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
lea edi, [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
test ebx, ebx
jle 0x4dfa7b
xor esi, esi
test edi, edi
jl 0x4dfa51
lea ecx, [esp + 0x34]
call fcn.00408de0
cmp edi, eax
jg 0x4dfa51
mov eax, dword [esp + 0x34]
movzx eax, word [eax + edi*2]
cmp ax, word [esp + esi*2 + 0x13c]
je 0x4dfa5b
inc esi
cmp esi, 0x3e
jl 0x4dfa26
jmp 0x4dfa76
push 0x80070057
call fcn.004025b0
cmp esi, 0x3d
jne 0x4dfa63
or esi, 0xffffffff
movzx ecx, word [esp + esi*2 + 0x13e]
push ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.00420b90
inc edi
cmp edi, ebx
jl 0x4dfa24
lea ecx, [esp + 0x34]
call fcn.00420f50
push eax
lea ecx, [esp + 0x7c]
call fcn.00401500
lea edx, [esp + 0x104]
push edx
mov ecx, eax
mov byte [esp + 0x1cc], 0x31
call fcn.004e1ac0
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c8], 0x33
call fcn.00401540
lea ecx, [esp + 0x24]
call fcn.00403460
test al, al
jne 0x4dfacb
add ebp, 0x38
jmp 0x4dfada
cmp dword [esp + 0x3c], 0
jle 0x4dfad7
add ebp, 0x3c
jmp 0x4dfada
add ebp, 0x34
push ebp
lea ecx, [esp + 0x20]
call fcn.00402cf0
lea ecx, [esp + 0x104]
call fcn.00401560
push eax
lea ecx, [esp + 0x20]
call fcn.00402dd0
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00402c30
lea ecx, [esp + 0x104]
call fcn.00401540
lea ecx, [esp + 0x34]
call fcn.00402cd0
lea ecx, [esp + 0x50]
call fcn.00402cd0
lea ecx, [esp + 0x120]
call fcn.00401490
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004e1c13
mov edx, dword [esp + 0x74]
push edx
call fcn.004e1c13
add esp, 8
lea ecx, [esp + 0xe8]
call fcn.00401490
lea ecx, [esp + 0x38]
call fcn.00402cd0
lea ecx, [esp + 0x30]
call fcn.00402cd0
lea ecx, [esp + 0x58]
call fcn.00402cd0
lea ecx, [esp + 0x54]
call fcn.00402cd0
lea ecx, [esp + 0x24]
call fcn.00402cd0
lea ecx, [esp + 0x20]
call fcn.00402cd0
lea ecx, [esp + 0x18]
call fcn.00402cd0
lea ecx, [esp + 0x1c]
call fcn.00402cd0
lea ecx, [esp + 0x64]
call fcn.00412300
lea ecx, [esp + 0x1d8]
call fcn.00402cd0
lea ecx, [esp + 0x1dc]
call fcn.00402cd0
mov eax, esi
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.005007b7
add esp, 0x1b8
ret 0x10