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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b6a87
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x50a360]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x388]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
call fcn.00471eac
mov ecx, dword [eax + 4]
call fcn.0046b2c8
mov ecx, esi
mov dword [esp + 0x390], 0
call fcn.00422ed0
lea edi, [esi + 0x190]
mov ecx, edi
call fcn.00455ec0
test eax, eax
je 0x428828
mov esi, 1
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.00455c60
test eax, eax
je 0x4275d7
mov esi, 2
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x70]
call fcn.0046e650
lea ecx, [esp + 0xac]
mov byte [esp + 0x390], 1
call fcn.0047d5a8
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
mov byte [esp + 0x398], 2
call fcn.00456940
lea ecx, [esp + 0x84]
call fcn.0046e650
lea edx, [esp + 0x84]
push edx
mov ecx, edi
mov byte [esp + 0x394], 3
call fcn.00455c10
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42764d
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push 0x4ef7cc
lea ecx, [esp + 0x48]
mov byte [esp + 0x394], 4
mov dword [esp + 0x30], 1
call fcn.00402560
mov eax, dword [esp + 0x8c]
cmp esi, eax
mov byte [esp + 0x390], 5
mov dword [esp + 0x18], esi
jge 0x427cce
jmp 0x4276a0
mov ecx, dword [esp + 0x18]
test ecx, ecx
jl 0x427ac8
cmp ecx, eax
jge 0x427ac8
mov edx, dword [esp + 0x88]
mov eax, dword [edx + ecx*4]
sub eax, 0x10
push eax
call fcn.00401560
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], esi
cmp dword [esi - 0xc], 0
mov byte [esp + 0x390], 6
je 0x427a63
push 0x4c4450
push esi
call fcn.00495a5d
add esp, 8
test eax, eax
je 0x427a63
push 0x5c
push esi
call fcn.0049543c
add esp, 8
test eax, eax
jne 0x42770d
or edi, 0xffffffff
jmp 0x427713
sub eax, esi
sar eax, 1
mov edi, eax
lea eax, [esi - 0x10]
push eax
call fcn.00401560
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x390], 7
lea ecx, [esp + 0x1c]
cmp edi, 0xffffffff
je 0x4277d1
mov esi, dword [esi - 0xc]
sub esi, edi
dec esi
push esi
lea eax, [esp + 0x44]
push eax
call fcn.004019b0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x394], 8
call fcn.00401bf0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x390], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401a30
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x394], 9
call fcn.00401bf0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x390], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4277d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4277d6
call fcn.004014a0
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 0xc], 0
jne 0x42797f
mov eax, dword [esp + 0x78]
xor edi, edi
test eax, eax
jle 0x4278f5
test edi, edi
jl 0x427ac8
cmp edi, eax
jge 0x427ac8
mov edx, dword [esp + 0x74]
mov eax, dword [edx + edi*4]
sub eax, 0x10
push eax
call fcn.00401560
add eax, 0x10
add esp, 4
mov dword [esp + 0x3c], eax
push 1
push 0x4c7140
lea ecx, [esp + 0x44]
mov byte [esp + 0x398], 0xa
call fcn.00401ab0
mov esi, dword [esp + 0x3c]
mov eax, dword [esi - 0xc]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x28]
call fcn.00401a30
mov eax, dword [eax]
push esi
push eax
call fcn.00495a5d
add esp, 8
test eax, eax
mov eax, dword [esp + 0x4c]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x390], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427883
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4278ba
add esi, 0xfffffff0
mov byte [esp + 0x390], 7
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4278ab
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x78]
inc edi
cmp edi, eax
jl 0x4277f2
jmp 0x4278f5
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.00401bf0
lea ecx, [esp + 0x24]
call fcn.00411ce0
add esi, 0xfffffff0
mov byte [esp + 0x390], 7
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4278f5
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
jne 0x427a11
push 0x4ef7cc
lea ecx, [esp + 0x2c]
call fcn.00402560
mov eax, dword [esp + 0x78]
xor esi, esi
mov byte [esp + 0x390], 0xc
test eax, eax
jle 0x427961
test esi, esi
jl 0x427ac8
cmp esi, eax
jge 0x427ac8
mov eax, dword [esp + 0x74]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401ab0
push 1
push 0x4c5e40
lea ecx, [esp + 0x30]
call fcn.00401ab0
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x427923
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x427acd
push 0x80004005
call fcn.00401150
mov esi, dword [esp + 0x24]
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401a30
mov eax, dword [eax]
push esi
push eax
call fcn.00495a5d
add esp, 8
test eax, eax
mov eax, dword [esp + 0x30]
setne bl
add eax, 0xfffffff0
mov byte [esp + 0x390], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4279ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x427a11
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x2c], 0
jge 0x427ac8
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00401ab0
push 0x4c5e40
lea ecx, [esp + 0x48]
call fcn.00402520
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x390], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427a39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x390], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x427a87
add esi, 0xfffffff0
mov byte [esp + 0x390], 5
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a87
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x4276a0
cmp dword [esp + 0x2c], 0
jne 0x427cce
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x427c1f
push 0x80004005
call fcn.00401150
call fcn.00464489
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push str.There_are_no_download_files_matching_with_chip_name_prefix:_n_s.
push edx
mov byte [esp + 0x39c], 0xd
call fcn.00401cb0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 1
push 0
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x64], esp
mov ebx, esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x427b32
cmp eax, dword [esi]
jne 0x427b32
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x427b6e
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x427b4b
call fcn.004012e0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00493c34
add esp, 0x10
add edi, 0x10
mov ecx, 0x50b7e0
mov dword [ebx], edi
call fcn.0040b710
mov byte [esp + 0x390], 0xc
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x427b9e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x390], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427bc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x390], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427bee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x390], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428a41
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
push ecx
push ebx
lea edx, [esp + 0x1c]
push str.Following_files_not_match_with_chip_name_prefix___s_:_n_s.
push edx
mov byte [esp + 0x3a0], 0xf
call fcn.00401cb0
mov esi, dword [esp + 0x24]
add esp, 0x10
push 1
push 0
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x64], esp
mov edi, esp
push esi
call fcn.00401560
add eax, 0x10
add esp, 4
mov ecx, 0x50b7e0
mov dword [edi], eax
call fcn.0040b710
mov byte [esp + 0x390], 5
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427c9e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x390], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427cc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
jmp 0x428a70
lea ecx, [esp + 0xc0]
call fcn.0046e650
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x2c]
add ecx, 0x190
mov byte [esp + 0x394], 0x10
call fcn.00455fc0
push 0x4ef7cc
lea ecx, [esp + 0x38]
call fcn.00402560
push 0x4ef7cc
lea ecx, [esp + 0x4c]
mov byte [esp + 0x394], 0x11
call fcn.00402560
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
mov byte [esp + 0x390], 0x12
mov dword [esp + 0x2c], 1
mov dword [esp + 0x3c], eax
jge 0x42873b
mov eax, dword [esp + 0x3c]
test eax, eax
jl 0x427ac8
cmp eax, ecx
jge 0x427ac8
mov edx, dword [esp + 0x88]
mov esi, dword [edx + eax*4]
mov ecx, dword [esi - 0x10]
lea ebx, [eax*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x427d90
cmp eax, dword [esi]
jne 0x427d90
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x427dcb
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x427b46
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00493c34
add esp, 0x10
lea esi, [edi + 0x10]
mov dword [esp + 0x20], esi
cmp dword [esi - 0xc], 0
mov byte [esp + 0x390], 0x13
je 0x4286f4
push 0x4c4450
push esi
call fcn.00495a5d
add esp, 8
test eax, eax
je 0x4286f4
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0xc8]
jge 0x427ac8
mov edx, dword [esp + 0xc4]
mov eax, dword [edx + ebx]
sub eax, 0x10
push eax
call fcn.00401560
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x5c
push esi
mov byte [esp + 0x39c], 0x14
call fcn.0049543c
add esp, 0xc
test eax, eax
jne 0x427e41
or edi, 0xffffffff
jmp 0x427e47
sub eax, esi
sar eax, 1
mov edi, eax
lea eax, [esi - 0x10]
push eax
call fcn.00401560
add eax, 0x10
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x390], 0x15
lea ecx, [esp + 0x20]
cmp edi, 0xffffffff
je 0x427f11
mov eax, dword [esi - 0xc]
sub eax, edi
dec eax
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004019b0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x394], 0x16
call fcn.00401bf0
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427ec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401a30
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x394], 0x17
call fcn.00401bf0
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x15
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427f16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x427f16
call fcn.004014a0
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x427643
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x24]
sub eax, dword [edx - 0xc]
lea ecx, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x398], 0x18
call fcn.004019b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x394], 0x19
call fcn.00401bf0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427f99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x78]
mov dword [esp + 0x5c], 0
test edx, edx
jle 0x428673
lea ecx, [ecx]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jl 0x427ac8
cmp ecx, dword [esp + 0xb4]
jge 0x427ac8
cmp ecx, edx
mov esi, dword [esp + 0xb0]
mov esi, dword [esi + ecx*4]
lea eax, [ecx*4]
mov dword [esp + 0x40], esi
jge 0x427ac8
mov ecx, dword [esp + 0x74]
mov esi, dword [ecx + eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x428014
cmp eax, dword [esi]
jne 0x428014
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42804f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x427b46
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00493c34
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x30], edi
mov byte [esp + 0x390], 0x1a
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x427643
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push edi
push edx
lea eax, [esp + 0x24]
push str._s_s__s
push eax
mov byte [esp + 0x3a4], 0x1b
call fcn.00401cb0
add esp, 0x14
lea ecx, [esp + 0xe4]
call fcn.00475e73
mov esi, dword [esp + 0x18]
push 0
push esi
lea ecx, [esp + 0xec]
mov byte [esp + 0x398], 0x1c
call fcn.00475f0b
test eax, eax
jne 0x4280f0
mov dword [esp + 0x2c], eax
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00401ab0
push 1
push 0x4c5e40
jmp 0x428538
xor esi, esi
push 0x220
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
call fcn.0046433c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4285bf
push 0x220
push esi
push ebx
call fcn.00494750
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
add esp, 0xc
push ecx
lea ecx, [edi + 0x190]
call fcn.00456080
lea edx, [ebx + 8]
test eax, eax
je 0x428187
mov ecx, dword [edi + 0x148]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x428145
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x100]
push eax
lea ecx, [edi + 0x190]
call fcn.00456450
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
jmp 0x42819f
mov eax, dword [esp + 0x18]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x428190
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push ecx
push esi
lea eax, [ebx + 4]
push ebx
push eax
lea eax, [ebx + 8]
push eax
call fcn.00458530
add esp, 0x1c
cmp dword [ebx + 4], 0
je 0x428529
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [edi + 0x190]
mov dword [esp + 0x54], 0
call fcn.00455cc0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42831a
add eax, 0x208
push eax
lea ecx, [esp + 0x58]
call fcn.00402560
mov ecx, dword [esp + 0x54]
push str.MasterImage
push ecx
call fcn.00495a5d
add esp, 8
test eax, eax
jne 0x4282f2
push 0x270
push eax
lea edx, [esp + 0x114]
push edx
mov dword [esp + 0x44], eax
call fcn.00494750
lea eax, [ebx + 8]
lea edx, [esp + 0x118]
add esp, 0xc
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x428242
mov dword [esp + 0xa4], vtable.CMasterImgGen.0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
push esi
lea ecx, [edi + 0x190]
mov byte [esp + 0x3a0], 0x1e
call fcn.00455c30
push eax
lea eax, [esp + 0x120]
push eax
push 1
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0xc4]
call fcn.00445c90
mov esi, eax
test esi, esi
jne 0x4282d2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00401ab0
push 0x4c5e40
lea ecx, [esp + 0x4c]
call fcn.00402520
mov dword [esp + 0x2c], esi
jmp 0x4282e7
mov eax, dword [ebx + 4]
push eax
call fcn.0046436b
mov edx, dword [esp + 0x3c]
add esp, 4
mov dword [ebx + 4], esi
mov dword [ebx], edx
mov dword [esp + 0xa4], vtable.CMasterImgGen.0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42831a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.00401560
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
lea edx, [esp + 0xdc]
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00418e10
add esp, 0xc
lea ecx, [edi + 0x2418]
push eax
mov byte [esp + 0x394], 0x1f
call fcn.004257b0
mov dword [eax], ebx
mov eax, dword [esp + 0xd8]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42838c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jl 0x428541
mov edx, ecx
push 0x4c082c
push edx
call fcn.00495b82
add esp, 8
test eax, eax
je 0x428541
sub eax, dword [esp + 0x1c]
sar eax, 1
jne 0x428541
mov ecx, dword [esp + 0x28]
add ecx, 0x190
call fcn.004568d0
test eax, eax
je 0x428541
call fcn.0046c2c1
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
je 0x427643
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push str._ORG__s
push edx
mov byte [esp + 0x39c], 0x20
call fcn.00401cb0
push 0x220
call fcn.0046433c
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x4285d5
push 0x220
push edi
push esi
call fcn.00494750
lea eax, [ebx + 8]
mov ecx, esi
add esp, 0xc
sub ecx, eax
lea edx, [ecx + 8]
jmp 0x428450
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, di
jne 0x428450
mov eax, dword [ebx]
mov dword [esi], eax
cmp eax, edi
je 0x42848d
push eax
call fcn.00464376
add esp, 4
mov dword [esi + 4], eax
cmp eax, edi
je 0x428489
mov edx, dword [esi]
mov ecx, dword [ebx + 4]
push edx
push ecx
push eax
call fcn.00494d40
add esp, 0xc
jmp 0x42848d
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x38]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x9c], esp
mov edi, esp
push esi
call fcn.00401560
mov edx, dword [esp + 0x48]
add eax, 0x10
add esp, 4
mov dword [edi], eax
push edx
lea eax, [esp + 0xe4]
push eax
call fcn.00418e10
add esp, 0xc
mov ecx, dword [esp + 0x28]
push eax
add ecx, 0x2418
mov byte [esp + 0x394], 0x21
call fcn.004257b0
mov dword [eax], ebx
mov eax, dword [esp + 0xe0]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428506
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x390], 0x1c
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428541
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x428541
push 0x17
mov dword [esp + 0x30], 0
push str.LoadFileFromLocal_fail_n
lea ecx, [esp + 0x3c]
call fcn.00401ab0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x390], 0x1b
call fcn.00475e9c
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42857d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4285a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
inc eax
cmp eax, edx
mov dword [esp + 0x5c], eax
jl 0x427fb0
jmp 0x428673
push 0xd
push str.new_opr_fail_n
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], esi
call fcn.00401ab0
jmp 0x42860f
push str.new_opr_fail_n
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], edi
call fcn.00402520
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42860f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x390], 0x1b
call fcn.00475e9c
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x390], 0x1a
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42864b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x390], 0x18
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42869b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4286c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4286eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x4286f7
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x390], 0x12
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x8c]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x427d44
cmp dword [esp + 0x2c], 0
je 0x428846
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428763
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42878b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x390], 5
call fcn.0046e87c
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x390], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4287c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x390], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4287ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x390], 2
call fcn.0046e87c
lea ecx, [esp + 0xac]
mov byte [esp + 0x390], 1
call fcn.0047d5bf
lea ecx, [esp + 0x70]
mov byte [esp + 0x390], 0
call fcn.0046e87c
lea ecx, [esp + 0x13]
mov dword [esp + 0x390], 0xffffffff
call fcn.00418aa0
mov eax, 1
jmp 0x428ae0
mov ecx, dword [esp + 0x28]
call fcn.00422ed0
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428869
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x390], 0x22
je 0x42889e
push eax
lea ecx, [esp + 0x34]
push str.Not_found_following_files:_n_s
push ecx
call fcn.00401cb0
add esp, 0xc
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4288b8
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x48]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x390], 0x23
je 0x4288f1
push eax
lea ecx, [esp + 0x44]
push str.Make_master_image_for_following_files_failed:_n_s
push ecx
call fcn.00401cb0
mov edi, dword [esp + 0x4c]
add esp, 0xc
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42890b
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x398], 0x24
call fcn.00401ab0
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.00401ab0
mov esi, dword [esp + 0x14]
push 1
push 0
push ecx
add esi, 0xfffffff0
mov dword [esp + 0xa4], esp
mov ebx, esp
push esi
call fcn.00401560
add eax, 0x10
add esp, 4
mov ecx, 0x50b7e0
mov dword [ebx], eax
call fcn.0040b710
mov byte [esp + 0x390], 0x23
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428991
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea eax, [edi - 0x10]
mov byte [esp + 0x390], 0x22
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4289b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4289dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x390], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x390], 5
call fcn.0046e87c
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x390], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x390], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x390], 2
call fcn.0046e87c
lea ecx, [esp + 0xac]
mov byte [esp + 0x390], 1
call fcn.0047d5bf
lea ecx, [esp + 0x70]
mov byte [esp + 0x390], 0
call fcn.0046e87c
lea ecx, [esp + 0x13]
mov dword [esp + 0x390], 0xffffffff
call fcn.00418aa0
xor eax, eax
mov ecx, dword [esp + 0x388]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.004945a7
mov esp, ebp
pop ebp
ret