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

Disassembly:
push 0xffffffffffffffff
push 0x4b6b15
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x4e7950]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7950]
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.0040de10
lea ecx, [esp + 0x1c]
call fcn.00401e00
lea ecx, [esp + 0x18]
call fcn.00401e00
lea ecx, [esp + 0x20]
call fcn.00401e00
lea ecx, [esp + 0x24]
call fcn.00401e00
lea ecx, [esp + 0x54]
call fcn.00401e00
mov byte [esp + 0x1c8], 7
mov eax, dword [ebp + 0x18]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x3c], ebx
jle 0x45e94f
lea ecx, [ecx]
cmp edi, ebx
jne 0x45e7a4
cmp dword [ebp + 0x18], ebx
jle 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
lea ecx, [esp + 0x24]
call fcn.00401ec0
cmp dword [ebp + 0x18], ebx
jle 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, 8
push eax
lea ecx, [esp + 0x28]
call fcn.00401ec0
cmp dword [ebp + 0x18], ebx
jle 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, 0xc
push eax
lea ecx, [esp + 0x58]
call fcn.00401ec0
cmp dword [ebp + 0x18], ebx
jle 0x45ea57
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x3c], edx
cmp edi, ebx
jl 0x45ea57
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
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.00402420
add esp, 8
test al, al
je 0x45e945
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, esi
add eax, 8
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00402420
add esp, 8
test al, al
je 0x45e945
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x3c]
add eax, esi
cmp ecx, dword [eax + 0x10]
jne 0x45e945
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
lea ecx, [esp + 0x18]
call fcn.00401e20
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 8
call fcn.004025b0
test al, al
jne 0x45e872
push 0x4d20ac
lea ecx, [esp + 0x18]
call fcn.00401f20
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, esi
add eax, 8
push eax
lea ecx, [esp + 0x18]
call fcn.00401f00
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, esi
cmp dword [eax + 0x14], ebx
je 0x45e8c2
push ebx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401e20
push ecx
mov byte [esp + 0x1d4], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push str.stat
call fcn.00401e40
mov byte [esp + 0x1d4], 8
call fcn.0045e480
cmp eax, 1
je 0x45e934
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401f00
push 0x4d1568
lea ecx, [esp + 0x1c]
call fcn.00401f20
cmp edi, dword [ebp + 0x18]
jge 0x45ea57
mov eax, dword [ebp + 0x14]
add eax, esi
cmp dword [eax + 0x14], ebx
je 0x45e934
push 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00401e20
push ecx
mov byte [esp + 0x1d4], 0xa
mov ecx, esp
mov dword [esp + 0x38], esp
push str.stat
call fcn.00401e40
mov byte [esp + 0x1d4], 8
call fcn.0045e340
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c8], 7
call fcn.00408680
inc edi
cmp edi, dword [ebp + 0x18]
jl 0x45e740
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402170
push 0x4d1568
push eax
call fcn.00402440
add esp, 8
lea ecx, [esp + 0x14]
mov bl, al
call fcn.00408680
test bl, bl
je 0x45e9b8
lea ecx, [esp + 0x18]
call fcn.00402590
dec eax
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.00402200
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc], 0xb
call fcn.00401ec0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c8], 7
call fcn.00408680
mov esi, dword [ebp + 0x18]
add esi, 0xffffffff
js 0x45ea35
lea ebx, [esi + esi*2]
add ebx, ebx
add ebx, ebx
add ebx, ebx
lea edi, [ebp + 0x10]
test esi, esi
jl 0x45ea57
cmp esi, dword [edi + 8]
jge 0x45ea57
mov eax, dword [edi + 4]
add eax, ebx
lea ecx, [esp + 0x20]
push ecx
add eax, 4
push eax
call fcn.00402420
add esp, 8
test al, al
je 0x45ea2d
cmp esi, dword [edi + 8]
jge 0x45ea57
mov eax, dword [edi + 4]
add eax, ebx
lea edx, [esp + 0x24]
push edx
add eax, 8
push eax
call fcn.00402420
add esp, 8
test al, al
je 0x45ea2d
cmp esi, dword [edi + 8]
jge 0x45ea57
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x3c]
add eax, ebx
cmp ecx, dword [eax + 0x10]
jne 0x45ea2d
push edi
mov eax, esi
call fcn.0045f420
dec esi
sub ebx, 0x18
test esi, esi
jge 0x45e9d4
lea ecx, [esp + 0x18]
call fcn.004025b0
test al, al
je 0x45ea5c
mov esi, dword [esp + 0x60]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00401e20
jmp 0x45f252
call fcn.004626d1
push 0x4d20b0
lea ecx, [esp + 0x5c]
call fcn.00401e40
lea ecx, [esp + 0x30]
call fcn.00401e00
push 0
mov byte [esp + 0x1cc], 0xd
call fcn.00482c2a
push edx
push eax
lea eax, [esp + 0x3c]
push 0x4d2308
push eax
call fcn.00404820
add esp, 0x14
lea ecx, [esp + 0x38]
call fcn.00401e00
mov bl, 0xe
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], bl
call fcn.004025b0
test al, al
jne 0x45ebde
lea ecx, [esp + 0x1d8]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004022c0
lea ecx, [esp + 0x1e8]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x1e0], 0xf
call fcn.004022c0
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1ec], 0x10
call fcn.004022c0
lea ecx, [ebp + 0x24]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x1f8], 0x11
call fcn.004022c0
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x204], 0x12
call fcn.004022c0
lea ecx, [esp + 0x94]
push ecx
push eax
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x210], 0x13
call fcn.004022c0
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.004022c0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0045d8d0
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1cc], 0x15
call fcn.00401ec0
lea ecx, [esp + 0x14]
call fcn.00408680
lea ecx, [esp + 0x5c]
call fcn.00408680
lea ecx, [esp + 0x40]
call fcn.00408680
lea ecx, [esp + 0x44]
call fcn.00408680
lea ecx, [esp + 0x4c]
call fcn.00408680
lea ecx, [esp + 0x48]
call fcn.00408680
mov byte [esp + 0x1c8], bl
lea ecx, [esp + 0x2c]
call fcn.00408680
mov esi, dword [esp + 0x3c]
jmp 0x45ee1c
mov esi, dword [esp + 0x3c]
test esi, esi
jle 0x45ed28
lea ecx, [esp + 0x14]
call fcn.00401e00
push esi
lea eax, [esp + 0x18]
push 0x4d2308
push eax
mov byte [esp + 0x1d4], 0x16
call fcn.00404820
lea ecx, [esp + 0x1e4]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004022c0
lea ecx, [esp + 0x1f4]
push ecx
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x1ec], 0x17
call fcn.004022c0
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1f8], 0x18
call fcn.004022c0
lea ecx, [ebp + 0x24]
push ecx
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x204], 0x19
call fcn.004022c0
lea ecx, [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x210], 0x1a
call fcn.004022c0
add esp, 0x48
lea ecx, [esp + 0x58]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x1d4], 0x1b
call fcn.004022c0
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.004022c0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0045d8d0
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1cc], 0x1d
call fcn.00401ec0
lea ecx, [esp + 0x2c]
call fcn.00408680
lea ecx, [esp + 0x48]
call fcn.00408680
lea ecx, [esp + 0x4c]
call fcn.00408680
lea ecx, [esp + 0x44]
call fcn.00408680
lea ecx, [esp + 0x40]
call fcn.00408680
lea ecx, [esp + 0x5c]
call fcn.00408680
lea ecx, [esp + 0x28]
call fcn.00408680
lea ecx, [esp + 0x14]
jmp 0x45ee10
lea eax, [esp + 0x1d8]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.004022c0
lea ecx, [esp + 0x1e8]
push ecx
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x1e0], 0x1e
call fcn.004022c0
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x1ec], 0x1f
call fcn.004022c0
lea ecx, [ebp + 0x24]
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x1f8], 0x20
call fcn.004022c0
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x204], 0x21
call fcn.004022c0
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.004022c0
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.0045d8d0
add esp, 4
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1cc], 0x23
call fcn.00401ec0
lea ecx, [esp + 0x28]
call fcn.00408680
lea ecx, [esp + 0x2c]
call fcn.00408680
lea ecx, [esp + 0x48]
call fcn.00408680
lea ecx, [esp + 0x4c]
call fcn.00408680
lea ecx, [esp + 0x44]
call fcn.00408680
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c8], bl
call fcn.00408680
lea ecx, [esp + 0x24]
call fcn.004025b0
test al, al
jne 0x45ef1e
lea ecx, [esp + 0x54]
call fcn.004077a0
push eax
lea ecx, [esp + 0x7c]
call fcn.004026d0
lea ecx, [esp + 0xcc]
push ecx
mov ecx, eax
mov byte [esp + 0x1cc], 0x24
call fcn.00461500
add esp, 4
mov esi, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c8], 0x25
call fcn.004077a0
push eax
lea ecx, [esp + 0xb4]
call fcn.004026d0
lea edx, [esp + 0x94]
push edx
mov ecx, eax
mov byte [esp + 0x1cc], 0x26
call fcn.00461500
add esp, 4
mov edi, eax
mov ecx, esi
mov byte [esp + 0x1c8], 0x27
call fcn.00402730
push eax
mov ecx, edi
call fcn.00402730
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.00404820
add esp, 0x2c
lea ecx, [esp + 0x94]
call fcn.00402710
lea ecx, [esp + 0xb0]
call fcn.00402710
lea ecx, [esp + 0xcc]
call fcn.00402710
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c8], bl
call fcn.00402710
jmp 0x45ef99
test esi, esi
jle 0x45ef5f
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.00404820
add esp, 0x28
jmp 0x45ef99
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.00404820
add esp, 0x24
lea ecx, [esp + 0x1c]
call fcn.004077a0
push eax
lea ecx, [esp + 0x7c]
call fcn.004026d0
mov ecx, eax
lea esi, [esp + 0xe8]
mov byte [esp + 0x1c8], 0x28
call fcn.0042f740
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c8], 0x2a
call fcn.00402710
push 0x200
mov dword [esp + 0x78], 0x200
call fcn.00461620
push 0x200
mov dword [esp + 0x74], eax
call fcn.00461620
add esp, 8
mov dword [esp + 0x70], eax
mov ecx, esi
mov byte [esp + 0x1c8], 0x2b
call fcn.00402750
push eax
mov ecx, esi
call fcn.004086e0
mov ebx, eax
lea esi, [esp + 0x70]
call fcn.004611f0
push eax
lea ecx, [esp + 0x124]
call fcn.004025d0
lea ecx, [esp + 0x120]
mov byte [esp + 0x1c8], 0x2c
call fcn.004086e0
mov ecx, eax
lea eax, [esp + 0x78]
call fcn.0042f710
mov ecx, eax
mov byte [esp + 0x1c8], 0x2d
call fcn.00402730
push eax
lea ecx, [esp + 0x54]
call fcn.00401e40
lea ecx, [esp + 0x78]
call fcn.00402710
lea ecx, [esp + 0x50]
call fcn.00402590
mov esi, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00401e00
add esi, 0xffffffff
mov byte [esp + 0x1c8], 0x30
js 0x45f0e5
nop
test esi, esi
jl 0x45f131
lea ecx, [esp + 0x50]
call fcn.00402590
cmp esi, eax
jg 0x45f131
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + esi*2]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x34]
call fcn.00402590
mov edi, eax
lea ebx, [edi + 1]
push ebx
lea ecx, [esp + 0x38]
call fcn.00402570
mov dx, word [esp + 0x28]
push ebx
lea ecx, [esp + 0x38]
mov word [eax + edi*2], dx
call fcn.00402c60
sub esi, 1
jns 0x45f090
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 0x45f15b
xor esi, esi
test edi, edi
jl 0x45f131
lea ecx, [esp + 0x34]
call fcn.00402590
cmp edi, eax
jg 0x45f131
mov eax, dword [esp + 0x34]
movzx eax, word [eax + edi*2]
cmp ax, word [esp + esi*2 + 0x13c]
je 0x45f13b
inc esi
cmp esi, 0x3e
jl 0x45f106
jmp 0x45f156
push 0x80070057
call fcn.004010f0
cmp esi, 0x3d
jne 0x45f143
or esi, 0xffffffff
movzx ecx, word [esp + esi*2 + 0x13e]
push ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.0041d940
inc edi
cmp edi, ebx
jl 0x45f104
lea ecx, [esp + 0x34]
call fcn.004077a0
push eax
lea ecx, [esp + 0x7c]
call fcn.004026d0
lea edx, [esp + 0x104]
push edx
mov ecx, eax
mov byte [esp + 0x1cc], 0x31
call fcn.00461500
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c8], 0x33
call fcn.00402710
lea ecx, [esp + 0x24]
call fcn.004025b0
test al, al
jne 0x45f1ab
add ebp, 0x38
jmp 0x45f1ba
cmp dword [esp + 0x3c], 0
jle 0x45f1b7
add ebp, 0x3c
jmp 0x45f1ba
add ebp, 0x34
push ebp
lea ecx, [esp + 0x20]
call fcn.00401ec0
lea ecx, [esp + 0x104]
call fcn.00402730
push eax
lea ecx, [esp + 0x20]
call fcn.00401f20
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00401e20
lea ecx, [esp + 0x104]
call fcn.00402710
lea ecx, [esp + 0x34]
call fcn.00408680
lea ecx, [esp + 0x50]
call fcn.00408680
lea ecx, [esp + 0x120]
call fcn.00402610
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0046165a
mov edx, dword [esp + 0x74]
push edx
call fcn.0046165a
add esp, 8
lea ecx, [esp + 0xe8]
call fcn.00402610
lea ecx, [esp + 0x38]
call fcn.00408680
lea ecx, [esp + 0x30]
call fcn.00408680
lea ecx, [esp + 0x58]
call fcn.00408680
lea ecx, [esp + 0x54]
call fcn.00408680
lea ecx, [esp + 0x24]
call fcn.00408680
lea ecx, [esp + 0x20]
call fcn.00408680
lea ecx, [esp + 0x18]
call fcn.00408680
lea ecx, [esp + 0x1c]
call fcn.00408680
lea ecx, [esp + 0x64]
call fcn.0040de40
lea ecx, [esp + 0x1d8]
call fcn.00408680
lea ecx, [esp + 0x1dc]
call fcn.00408680
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.00480723
add esp, 0x1b8
ret 0x10