Function at 0x42ae50
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x56ea94
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d480c]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0045e1b2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ae99
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1a8], 0
call fcn.0045e1b2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42aece
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x1a8], 1
call fcn.0045e1b2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42af00
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp dword [esp + 0x1b4], 0x2d
mov ebp, dword [esp + 0x1b8]
mov ebx, 2
mov byte [esp + 0x1a8], bl
jne 0x42af30
push ebp
jmp 0x42af38
mov ecx, dword [esp + 0x1b0]
push ecx
mov ecx, esi
call fcn.0041bc80
mov byte [esp + 0x1f], al
cmp al, 0xff
jne 0x42af64
lea eax, [edi - 0x10]
mov byte [esp + 0x1a8], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42ca62
xor edi, edi
push edi
push 0x581258
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], edi
call fcn.00407240
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.0041a0d0
mov eax, dword [esp + 0x1b4]
dec eax
cmp eax, 0xbd
ja case.0x42afa1.46
movzx edx, byte [eax + 0x42cc44]
jmp dword [edx*4 + 0x42cadc]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_READSN_START
call fcn.00409120
lea eax, [esp + 0x194]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 3
call fcn.0041a0d0
lea ecx, [esp + 0x190]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_READSN_FAIL
call fcn.00409120
lea ecx, [esp + 0x118]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 4
call fcn.0041a0d0
lea ecx, [esp + 0x114]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x58579c
call fcn.00409120
lea edx, [esp + 0x1a0]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 5
call fcn.0041a0d0
lea ecx, [esp + 0x19c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov ebx, dword [esp + 0x1bc]
test ebx, ebx
je case.0x42afa1.46
push 0x585798
lea ecx, [esp + 0x18]
call fcn.0041f1f0
push ebx
lea ecx, [esp + 0x18]
call fcn.0041f1f0
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNDLOAD_START
call fcn.00409120
lea eax, [esp + 0xec]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 6
call fcn.0041a0d0
lea ecx, [esp + 0xe8]
jmp 0x42b06e
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETDEVICE_SUBCODE_START
call fcn.00409120
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 7
call fcn.0041a0d0
lea ecx, [esp + 0x38]
jmp 0x42b06e
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETDEVICE_SUBCODE_FAIL
call fcn.00409120
lea edx, [esp + 0x174]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 8
call fcn.0041a0d0
lea ecx, [esp + 0x170]
jmp 0x42b06e
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADBOOT_START
call fcn.00409120
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 9
call fcn.0041a0d0
lea ecx, [esp + 0x40]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADBOOT_FAIL
call fcn.00409120
lea ecx, [esp + 0xf4]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0xa
call fcn.0041a0d0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADBOOT_PASS
call fcn.00409120
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0xb
call fcn.0041a0d0
lea ecx, [esp + 0x48]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADIDBLOCK_START
call fcn.00409120
lea eax, [esp + 0x14c]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0xc
call fcn.0041a0d0
lea ecx, [esp + 0x148]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADIDBLOCK_FAIL
call fcn.00409120
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0xd
call fcn.0041a0d0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
cmp dword [esi + 0x340c], 0
mov edi, 1
je case.0x42afa1.46
movsx eax, byte [esp + 0x1f]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + edx*8 + 0x2d58]
push 0
push eax
mov ecx, esi
call fcn.0041c010
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADIDBLOCK_PASS
call fcn.00409120
lea ecx, [esp + 0xfc]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0xe
call fcn.0041a0d0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
cmp dword [esi + 0x340c], 0
je case.0x42afa1.46
movsx eax, byte [esp + 0x1f]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + edx*8 + 0x2d58]
push 1
push eax
mov ecx, esi
call fcn.0041c010
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADIMAGE_START
call fcn.00409120
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0xf
call fcn.0041a0d0
lea ecx, [esp + 0x58]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADIMAGE_FAIL
call fcn.00409120
lea edx, [esp + 0x18c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x10
call fcn.0041a0d0
lea ecx, [esp + 0x188]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADIMAGE_PASS
call fcn.00409120
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x11
call fcn.0041a0d0
lea ecx, [esp + 0x60]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADDEMO_START
call fcn.00409120
lea ecx, [esp + 0x104]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x12
call fcn.0041a0d0
lea ecx, [esp + 0x100]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADDEMO_FAIL
call fcn.00409120
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x13
call fcn.0041a0d0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_DOWNLOADDEMO_PASS
call fcn.00409120
lea eax, [esp + 0x154]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x14
call fcn.0041a0d0
lea ecx, [esp + 0x150]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_TESTDEVICE_START
call fcn.00409120
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x15
call fcn.0041a0d0
lea ecx, [esp + 0x70]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_TESTDEVICE_FAIL
call fcn.00409120
lea edx, [esp + 0x10c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x16
call fcn.0041a0d0
lea ecx, [esp + 0x108]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_TESTDEVICE_PASS
call fcn.00409120
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x17
call fcn.0041a0d0
lea ecx, [esp + 0x78]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_LOWERFORMATDEVICE_START
call fcn.00409120
lea ecx, [esp + 0x17c]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x18
call fcn.0041a0d0
lea ecx, [esp + 0x178]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_LOWERFORMATDEVICE_FAIL
call fcn.00409120
lea edx, [esp + 0x84]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x19
call fcn.0041a0d0
lea ecx, [esp + 0x80]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_LOWERFORMATDEVICE_PASS
call fcn.00409120
lea eax, [esp + 0x114]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x1a
call fcn.0041a0d0
lea ecx, [esp + 0x110]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETDEVICE_START
call fcn.00409120
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x1b
call fcn.0041a0d0
lea ecx, [esp + 0x88]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETDEVICE_FAIL
call fcn.00409120
lea edx, [esp + 0x15c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x1c
call fcn.0041a0d0
lea ecx, [esp + 0x158]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETDEVICE_PASS
call fcn.00409120
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x1d
call fcn.0041a0d0
lea ecx, [esp + 0x90]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SETRESETFLAG_START
call fcn.00409120
lea ecx, [esp + 0x11c]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x1e
call fcn.0041a0d0
lea ecx, [esp + 0x118]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SETRESETFLAG_FAIL
call fcn.00409120
lea edx, [esp + 0x9c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x1f
call fcn.0041a0d0
lea ecx, [esp + 0x98]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SETRESETFLAG_PASS
call fcn.00409120
lea eax, [esp + 0x19c]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x20
call fcn.0041a0d0
lea ecx, [esp + 0x198]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_FORMATDISK_START
call fcn.00409120
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x21
call fcn.0041a0d0
lea ecx, [esp + 0xa0]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_FORMATDISK_FAIL
call fcn.00409120
lea edx, [esp + 0x124]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x22
call fcn.0041a0d0
lea ecx, [esp + 0x120]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_FORMATDISK_PASS
call fcn.00409120
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x23
call fcn.0041a0d0
lea ecx, [esp + 0xa8]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_COPYDATA_START
call fcn.00409120
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x24
call fcn.0041a0d0
lea ecx, [esp + 0x160]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_COPYDATA_FAIL
call fcn.00409120
lea edx, [esp + 0xb4]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x25
call fcn.0041a0d0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_COPYDATA_PASS
call fcn.00409120
lea eax, [esp + 0x12c]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x26
call fcn.0041a0d0
lea ecx, [esp + 0x128]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
test ebp, ebp
jne 0x42b9bb
push str.IDS_SWITCHMSC_START
call fcn.00409120
lea ecx, [esp + 0xbc]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x27
call fcn.0041a0d0
lea ecx, [esp + 0xb8]
jmp 0x42c96c
push str.IDS_SWITCHADB_START
call fcn.00409120
lea edx, [esp + 0x184]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x28
call fcn.0041a0d0
lea ecx, [esp + 0x180]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
test ebp, ebp
jne 0x42ba43
push str.IDS_SWITCHMSC_FAIL
call fcn.00409120
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x29
call fcn.0041a0d0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
lea edi, [ebp + 1]
jmp case.0x42afa1.46
push str.IDS_SWITCHADB_FAIL
call fcn.00409120
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x2a
call fcn.0041a0d0
lea ecx, [esp + 0x130]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
test ebp, ebp
jne 0x42bacd
push str.IDS_SWITCHMSC_PASS
call fcn.00409120
lea edx, [esp + 0xcc]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x2b
call fcn.0041a0d0
lea ecx, [esp + 0xc8]
jmp 0x42c96c
push str.IDS_SWITCHADB_PASS
call fcn.00409120
lea eax, [esp + 0x16c]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x2c
call fcn.0041a0d0
lea ecx, [esp + 0x168]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETMSC_START
call fcn.00409120
lea ecx, [esp + 0xd4]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x2d
call fcn.0041a0d0
lea ecx, [esp + 0xd0]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETMSC_FAIL
call fcn.00409120
lea edx, [esp + 0x13c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x2e
call fcn.0041a0d0
lea ecx, [esp + 0x138]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_RESETMSC_PASS
call fcn.00409120
lea eax, [esp + 0xdc]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x2f
call fcn.0041a0d0
lea ecx, [esp + 0xd8]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SWITCHUVC_START
call fcn.00409120
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x30
call fcn.0041a0d0
lea ecx, [esp + 0x2c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SWITCHUVC_FAIL
call fcn.00409120
lea edx, [esp + 0xe4]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x31
call fcn.0041a0d0
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SWITCHUVC_PASS
call fcn.00409120
lea eax, [esp + 0x144]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x32
call fcn.0041a0d0
lea ecx, [esp + 0x140]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITMSC_START
call fcn.00409120
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x33
call fcn.0041a0d0
lea ecx, [esp + 0x30]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITMSC_FAIL
call fcn.00409120
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x34
call fcn.0041a0d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITMSC_PASS
call fcn.00409120
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x35
call fcn.0041a0d0
lea ecx, [esp + 0x3c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITLOADER_START
call fcn.00409120
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x36
call fcn.0041a0d0
lea ecx, [esp + 0x44]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITLOADER_FAIL
call fcn.00409120
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x37
call fcn.0041a0d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITLOADER_PASS
call fcn.00409120
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x38
call fcn.0041a0d0
lea ecx, [esp + 0x54]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITMASKROM_START
call fcn.00409120
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x39
call fcn.0041a0d0
lea ecx, [esp + 0x5c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITMASKROM_FAIL
call fcn.00409120
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x3a
call fcn.0041a0d0
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WAITMASKROM_PASS
call fcn.00409120
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x3b
call fcn.0041a0d0
lea ecx, [esp + 0x6c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_ERASEIDB_START
call fcn.00409120
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x3c
call fcn.0041a0d0
lea ecx, [esp + 0x74]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_ERASEIDB_FAIL
call fcn.00409120
lea edx, [esp + 0x80]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x3d
call fcn.0041a0d0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_ERASEIDB_PASS
call fcn.00409120
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x3e
call fcn.0041a0d0
lea ecx, [esp + 0x84]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SHOWUSERDISK_START
call fcn.00409120
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x3f
call fcn.0041a0d0
lea ecx, [esp + 0x8c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SHOWUSERDISK_FAIL
call fcn.00409120
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x40
call fcn.0041a0d0
lea ecx, [esp + 0x94]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SHOWUSERDISK_PASS
call fcn.00409120
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x41
call fcn.0041a0d0
lea ecx, [esp + 0x9c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_CHECKCHIP_START
call fcn.00409120
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x42
call fcn.0041a0d0
lea ecx, [esp + 0xa4]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_CHECKCHIP_FAIL
call fcn.00409120
lea edx, [esp + 0xb0]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x43
call fcn.0041a0d0
lea ecx, [esp + 0xac]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_CHECKCHIP_PASS
call fcn.00409120
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x44
call fcn.0041a0d0
lea ecx, [esp + 0xb4]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_PREPAREIDB_START
call fcn.00409120
lea ecx, [esp + 0xc0]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x45
call fcn.0041a0d0
lea ecx, [esp + 0xbc]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_PREPAREIDB_FAIL
call fcn.00409120
lea edx, [esp + 0xc8]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x46
call fcn.0041a0d0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_PREPAREIDB_PASS
call fcn.00409120
lea eax, [esp + 0xd0]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x47
call fcn.0041a0d0
lea ecx, [esp + 0xcc]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_GETFLASHINFO_START
call fcn.00409120
lea ecx, [esp + 0xd8]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x48
call fcn.0041a0d0
lea ecx, [esp + 0xd4]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_GETFLASHINFO_FAIL
call fcn.00409120
lea edx, [esp + 0xe0]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x49
call fcn.0041a0d0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_GETFLASHINFO_PASS
call fcn.00409120
lea eax, [esp + 0xe8]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x4a
call fcn.0041a0d0
lea ecx, [esp + 0xe4]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_MUTEXRESETDEVICE_START
call fcn.00409120
lea ecx, [esp + 0xf0]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x4b
call fcn.0041a0d0
lea ecx, [esp + 0xec]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edx, dword [esi + 0x20]
mov eax, 1
push eax
push 0
push edx
mov dword [esi + 0x31cc], eax
mov dword [esi + 0x3350], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_MUTEXRESETDEVICE_FAIL
call fcn.00409120
lea ecx, [esp + 0xf8]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x4c
call fcn.0041a0d0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edx, dword [esi + 0x20]
xor eax, eax
lea edi, [eax + 1]
push edi
push eax
push edx
mov dword [esi + 0x31cc], eax
mov dword [esi + 0x3350], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_MUTEXRESETDEVICE_PASS
call fcn.00409120
lea ecx, [esp + 0x100]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x4d
call fcn.0041a0d0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edx, dword [esp + 0x1b0]
xor eax, eax
mov dword [esi + 0x31cc], eax
mov dword [esi + 0x3350], eax
push edx
lea eax, [esp + 0x108]
push eax
call fcn.00426760
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ac], 0x4e
call fcn.0041a0d0
lea ecx, [esp + 0x104]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
lea ecx, [esp + 0x10c]
push ebp
push ecx
call fcn.00426760
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 0x4f
call fcn.0041a0d0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
movsx eax, byte [esp + 0x1f]
lea edx, [eax*8]
sub edx, eax
lea eax, [esp + 0x24]
lea ecx, [esi + edx*8 + 0x2d6c]
push eax
call fcn.0041a0d0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x314c]
call fcn.00425000
mov edi, dword [eax]
push 0x581258
push 1
lea ebp, [esi + 0x74]
push edi
mov ecx, ebp
call fcn.00409200
push 0x581258
push ebx
push edi
mov ecx, ebp
call fcn.00409200
push 0x581258
push 3
push edi
mov ecx, ebp
call fcn.00409200
mov edx, dword [esi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [esp + 0x28]
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_ERASEALLBLOCKS_START
call fcn.00409120
lea ecx, [esp + 0x120]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x50
call fcn.0041a0d0
lea ecx, [esp + 0x11c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_ERASEALLBLOCKS_FAIL
call fcn.00409120
lea edx, [esp + 0x128]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x51
call fcn.0041a0d0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_ERASEALLBLOCKS_PASS
call fcn.00409120
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x52
call fcn.0041a0d0
lea ecx, [esp + 0x12c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_FINDUSERDISK_START
call fcn.00409120
lea ecx, [esp + 0x138]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x53
call fcn.0041a0d0
lea ecx, [esp + 0x134]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_FINDUSERDISK_FAIL
call fcn.00409120
lea edx, [esp + 0x140]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x54
call fcn.0041a0d0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_COMPAREKEYHASH_FAIL
call fcn.00409120
lea eax, [esp + 0x148]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x55
call fcn.0041a0d0
lea ecx, [esp + 0x144]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_FINDUSERDISK_PASS
call fcn.00409120
lea ecx, [esp + 0x150]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x56
call fcn.0041a0d0
lea ecx, [esp + 0x14c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_READKEYHASH_START
call fcn.00409120
lea edx, [esp + 0x158]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x57
call fcn.0041a0d0
lea ecx, [esp + 0x154]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_NOBURNEFUSE
call fcn.00409120
lea eax, [esp + 0x160]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x58
call fcn.0041a0d0
lea ecx, [esp + 0x15c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_EFUSENOTMATCH
call fcn.00409120
lea ecx, [esp + 0x168]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x59
call fcn.0041a0d0
lea ecx, [esp + 0x164]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_READKEYHASH_FAIL
call fcn.00409120
lea edx, [esp + 0x170]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x5a
call fcn.0041a0d0
lea ecx, [esp + 0x16c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SWITCHMASKROM_FAIL
call fcn.00409120
lea eax, [esp + 0x178]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x5b
call fcn.0041a0d0
lea ecx, [esp + 0x174]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WRITEKEYHASH_FAIL
call fcn.00409120
lea ecx, [esp + 0x180]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x5c
call fcn.0041a0d0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov edi, 1
jmp case.0x42afa1.46
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WRITEKEYHASH_PASS
call fcn.00409120
lea edx, [esp + 0x188]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x5d
call fcn.0041a0d0
lea ecx, [esp + 0x184]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SWITCHMASKROM_PASS
call fcn.00409120
lea eax, [esp + 0x190]
push eax
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x5e
call fcn.0041a0d0
lea ecx, [esp + 0x18c]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_WRITEKEYHASH_START
call fcn.00409120
lea ecx, [esp + 0x198]
push ecx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x5f
call fcn.0041a0d0
lea ecx, [esp + 0x194]
jmp 0x42c96c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IDS_SWITCHMASKROM_START
call fcn.00409120
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00420fc0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 0x60
call fcn.0041a0d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a8], bl
call fcn.00403e00
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x42ca46
movsx eax, byte [esp + 0x1f]
lea ecx, [eax*8]
sub ecx, eax
lea ebx, [esi + ecx*8 + 0x2d6c]
push ebx
lea ecx, [esi + 0x314c]
call fcn.00425000
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push 3
push eax
lea ecx, [esi + 0x74]
call fcn.00409200
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov ebp, esp
push eax
call fcn.00406320
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebp], eax
call fcn.00427400
test edi, edi
je 0x42c9f9
mov esi, dword [esi + 0x3248]
test esi, esi
je 0x42ca46
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
push ecx
push edx
push eax
push str._Error__Layer__d__s_:_s
jmp 0x42ca3d
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], 0
je 0x42ca25
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 0xc], 0
je 0x42ca25
mov esi, dword [esi + 0x3248]
test esi, esi
je 0x42ca46
mov eax, dword [esp + 0x14]
push eax
push ecx
push edx
push str.Layer__s______s_:_s
jmp 0x42ca3d
mov esi, dword [esi + 0x3248]
test esi, esi
je 0x42ca46
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
push ecx
push edx
push eax
push str.Layer__d__s_:_s
push esi
call fcn.004d2ee0
add esp, 0x14
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1a8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ca6e
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
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1a8], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ca96
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
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x1a8], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cabd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret 0x10