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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
sub esp, 0xbc
mov esi, dword [ebp + 8]
push esi
call fcn.0040796c
mov word [esp + 0xa4], ax
lea eax, [esp + 0xa4]
push 0x48ff88
push 1
push 0x4900dc
push eax
push 0x48ff8c
call fcn.004079b8
movsx eax, word [esi]
cmp eax, 0x17
je 0x407e39
cmp eax, 0x18
je 0x4081be
cmp eax, 0x19
je 0x4080f9
cmp eax, 1
je 0x407f66
cmp eax, 2
je 0x407f66
cmp eax, 3
jne 0x407e30
lea eax, [esp + 0xa4]
push 0x48ff98
push 2
push 0x4900f8
push eax
push 0x48ff9c
call fcn.004079b8
jmp 0x407f90
cmp eax, 4
jne 0x407f66
mov byte [esp + 0x84], 0x1b
lea edx, [esp + 0xa4]
lea eax, [esp + 0x84]
push 0x48ffa8
push 1
push eax
push edx
push 0x48ffac
call fcn.004079b8
lea eax, [esp + 0xa4]
push 0x48ffb0
push 9
push str.._1024_2:
push eax
push 0x48ffb4
call fcn.004079b8
mov byte [esp + 0x88], 0x1b
lea edx, [esp + 0xa4]
lea eax, [esp + 0x88]
push 0x48ffb8
push 1
push eax
push edx
push 0x48ffbc
call fcn.004079b8
lea eax, [esp + 0xa4]
push 0x48ffc0
push 0xb
push str..I512_0_17:
push eax
push 0x48ffc4
call fcn.004079b8
mov byte [esp + 0x8c], 0x1b
lea edx, [esp + 0xa4]
lea eax, [esp + 0x8c]
push 0x48ffc8
push 1
push eax
push edx
push 0x48ffcc
call fcn.004079b8
lea eax, [esp + 0xa4]
push 0x48ffd0
push 6
push str..N_19:
push eax
push 0x48ffd4
call fcn.004079b8
lea eax, [esp + 0xa4]
push 0x48ffd8
push 6
push str.DF_RO0
push eax
push 0x48ffdc
call fcn.004079b8
movsx eax, word [0x4a60c4]
cmp eax, 0xa
jl 0x4080e2
cmp eax, 0xc
je 0x407f90
cmp eax, 0xe
je 0x407f90
lea eax, [esp + 0xa4]
push 0x48ffe0
push 5
push str._RO90
push eax
push 0x48ffe4
call fcn.004079b8
jmp 0x407f90
lea eax, [esp + 0xa4]
push 0x48ffa0
push 9
push str.DF_PG_RO0
push eax
push 0x48ffa4
call fcn.004079b8
movsx eax, word [0x4a60c4]
cmp eax, 0xa
jge 0x407f46
lea esi, [esp + 0xac]
lea ecx, [esp + 0xaa]
lea edx, [esp + 0xa8]
lea eax, [esp + 0xa6]
push eax
push edx
push ecx
push esi
call fcn.00406530
movzx eax, word [esp + 0xac]
mov dword [esp + 0x50], 0
mov word [esp + 0x78], ax
mov dword [esp + 0x70], 0x1f
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], 0x4a60f0
lea edx, [esp + 0x70]
push 0x4a0d00
push edx
push 0x48ff68
push 0x384ff00
push ecx
call fcn.0041c530
movzx eax, word [esp + 0xbe]
mov word [esp + 0xa4], ax
lea ecx, [esp + 0x64]
lea edx, [esp + 0xa4]
push edx
push 0x48ff70
push ecx
call fcn.0041ca28
movzx eax, word [esp + 0xc8]
mov word [esp + 0xb8], ax
lea ecx, [esp + 0x70]
lea edx, [esp + 0xb8]
push edx
push 0x48ff78
push ecx
call fcn.0041ca28
movzx eax, word [esp + 0xd2]
mov word [esp + 0xcc], ax
lea ecx, [esp + 0x7c]
lea edx, [esp + 0xcc]
push edx
push 0x48ff80
push ecx
call fcn.0041ca28
add esp, 0x38
lea eax, [esp + 0xa4]
push 0x490020
push 0x1f
push 0x4a60f0
push eax
push 0x490024
call fcn.004079b8
lea eax, [esp + 0xa4]
push 0x490028
push 1
push 0x49015c
push eax
push 0x49002c
call fcn.004079b8
lea eax, [esp + 0xa4]
push 0x490030
push 1
push 0x490160
push eax
push 0x490034
call fcn.004079b8
mov eax, 0xffffffff
mov word [0x4a60c0], ax
add esp, 0xbc
pop esi
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
je 0x407f46
cmp eax, 4
je 0x407f46
jmp 0x407f90
mov dword [esp + 0x10], 0x4900e0
lea edx, [esp + 0x7c]
mov eax, 0x1b
xor esi, esi
mov dword [esp + 0x30], str._0B_DF_NP8_PW0.1
mov byte [esp + 0x7c], al
mov dword [esp], edx
mov dword [esp + 0x38], 0x10
mov edx, 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x80], al
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], esi
lea eax, [esp]
push esi
push 0x1f
push 0x4a60f0
push esi
push 4
push eax
call fcn.00416318
add esp, 0x18
lea eax, [esp + 0xa4]
push 0x490010
push 0x1f
push 0x4a60f0
push eax
push 0x490014
call fcn.004079b8
movsx eax, word [0x4a60c4]
cmp eax, 0xa
jl 0x407f46
lea eax, [esp + 0xa4]
push 0x490018
push 4
push str._RO0
push eax
push 0x49001c
call fcn.004079b8
jmp 0x407f90
mov byte [esp + 0x40], 0x1b
lea edx, [esp + 0xa4]
lea eax, [esp + 0x40]
push 0x48ff90
push 1
push eax
push edx
push 0x48ff94
call fcn.004079b8
movsx eax, word [0x4a60c4]
cmp eax, 9
jle 0x4081f3
add eax, 0xfffffff6
movsx eax, ax
cmp eax, 2
jle 0x40829f
cmp eax, 3
je 0x40827c
cmp eax, 4
jge 0x40825c
mov byte [esp + 0x44], 0x1b
lea edx, [esp + 0xa4]
lea eax, [esp + 0x44]
push 0x490000
push 1
push eax
push edx
push 0x490004
call fcn.004079b8
lea eax, [esp + 0xa4]
push 0x490008
push 2
push 0x490150
push eax
push 0x49000c
call fcn.004079b8
movsx eax, word [0x4a60c4]
cmp eax, 0xa
jl 0x407f90
jmp 0x407f46
lea eax, [esp + 0xa4]
push 0x48fff8
push 5
push str..DZ4:
push eax
push 0x48fffc
call fcn.004079b8
jmp 0x408206
lea eax, [esp + 0xa4]
push 0x48fff0
push 5
push str..DZ3:
push eax
push 0x48fff4
call fcn.004079b8
jmp 0x408206
lea eax, [esp + 0xa4]
push 0x48ffe8
push 5
push str..DZ2:
push eax
push 0x48ffec
call fcn.004079b8
jmp 0x408206