Function at 0x4906d0
Capabilities:
Contain obfuscated stackstrings
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fdf9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x7c6ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0
cmp byte [ebp + 8], 0
je 0x490712
mov eax, dword [ebx + 0x14c]
jmp 0x490718
mov eax, dword [ebx + 0x12c]
push ecx
mov ecx, esp
mov dword [ebx + 0x60], eax
call dword [0x530a18]
lea ecx, [ebp - 0x24]
call dword [0x5307a8]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [0x5309b8]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x1c]
call dword [0x5307a8]
mov esi, dword [0x53076c]
push 0x2a0
push str.SELECT_nmanuf.cn_AS_manufcn__nmanuf.en_AS_manufen__nchipseries.en_AS_seriesen__nchipseries.cn_AS_seriescn__nchip.cn_AS_chipcn__nchip.en_AS_chipen__nchip.dllid__nchip.funcid__nchip.chipid__nchip.Mask__nchip.INS_L__nchip.INS_H__nchip.operation__nchip.memtype__nchip.pflash_addr__nchip.pflash_size__nchip.dflash_addr__nchip.dflash_size__nchip.eeprom_addr__nchip.eeprom_size__nchip.boot_addr__nchip.boot_size__nchip.opbt_addr__nchip.opbt_size__nchip.config_addr__nchip.config_size__nchip.shadow_addr__nchip.shadow_size__nchip.ep_read_nFROM_nchip_nLEFT_JOIN_manuf_ON_manuf.id__chip.ManufactureId_nLEFT_JOIN_chipseries_ON_chipseries.id__chip.ChipSeries_nLEFT_JOIN_text_ON_text.id__chip.text_nWHERE_nchip.id___1
mov byte [ebp - 4], 3
call esi
mov dword [ebp - 0x18], eax
add esp, 4
mov byte [ebp - 0x24], 0x20
mov ecx, esp
mov byte [ebp - 4], 4
push dword [ebp - 0x24]
call dword [0x5307b0]
push 0xa
push 0
push dword [ebx + 0x60]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call dword [0x5303a4]
push eax
lea ecx, [ebp - 0x1c]
call dword [0x53063c]
lea ecx, [ebp - 0x20]
call dword [0x5307a0]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call dword [0x5307a0]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call dword [0x5309c8]
lea ecx, [ebp - 0x10]
test al, al
jne 0x49082f
lea eax, [ebp - 0x3c]
push eax
call dword [0x5309c4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call dword [0x530a1c]
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x54]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
push esi
mov ecx, eax
mov byte [ebp - 4], 7
call dword [0x530700]
lea ecx, [ebp + 8]
call dword [0x530710]
lea ecx, [ebp - 0x28]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x5309b4]
jmp 0x491958
call dword [0x5309d8]
test al, al
je 0x491958
push 7
push str.manufcn
call esi
add esp, 8
mov dword [ebp - 0x20], eax
mov edi, dword [0x530a14]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [ebx + 0x4c]
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 7
push str.manufen
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [ebx + 0x50]
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 8
push str.seriescn
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [ebx + 0x58]
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 8
push str.seriesen
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [ebx + 0x5c]
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 6
push str.chipcn
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [ebx + 0x64]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 6
push str.chipen
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [ebx + 0x68]
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 5
push str.dllid
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x15
call dword [0x530734]
lea ecx, [ebp - 0x3c]
mov dword [ebx + 0x6c], eax
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 6
push str.chipid
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x17
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [ebx + 0x70]
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 4
push str.Mask
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [ebx + 0x74]
call dword [0x53063c]
lea ecx, [ebp - 0x24]
call dword [0x5307a0]
mov ebx, dword [0x530740]
lea ecx, [ebp - 0x3c]
call ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [0x5307a0]
push 5
push str.INS_L
call esi
add esp, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1b
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [ebp - 0x3c]
call ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1e
call dword [0x5307a0]
push 5
push str.INS_H
call esi
add esp, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x10]
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x20
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [ebp - 0x50]
call ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
mov edi, dword [0x530398]
lea eax, [ebp - 0x2c]
push 2
push eax
lea ecx, [ebp - 0x18]
call edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x24
push ecx
mov ecx, eax
call dword [0x530394]
push 0x5348dc
mov ecx, eax
mov byte [ebp - 4], 0x25
call dword [0x530770]
mov esi, dword [0x530780]
mov ebx, 0xa
test al, al
mov edx, 0x10
mov ecx, ebx
cmovne ecx, edx
push ecx
push 0
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x78], al
lea ecx, [ebp - 0x20]
call dword [0x5307a0]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x26
push ecx
mov ecx, eax
call dword [0x530394]
push 0x5348dc
mov ecx, eax
mov byte [ebp - 4], 0x27
call dword [0x530770]
test al, al
lea ecx, [ebp - 0x14]
mov eax, 0x10
cmovne ebx, eax
push ebx
push 0
call esi
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
mov byte [edi + 0x79], al
call dword [0x5307a0]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
mov ebx, dword [0x53076c]
push 9
push 0x54a0bc
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
mov esi, dword [0x530a14]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x28
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x29
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [edi + 0x80]
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x28]
call dword [0x5307a0]
push 7
push str.memtype
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2b
push ecx
mov ecx, eax
call dword [0x53072c]
push eax
lea ecx, [edi + 0x7c]
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 0xb
push str.pflash_addr
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2d
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0x84]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 0xb
push str.pflash_size
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x2e
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2f
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0x88]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
lea eax, [edi + 0x88]
push eax
lea eax, [edi + 0x84]
push eax
call fcn.00432a00
add esp, 8
test al, al
jne 0x490e89
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
lea ecx, [edi + 0x88]
mov byte [ebp - 4], 0x30
push ecx
lea ecx, [edi + 0x84]
push ecx
push str.check_memory_error:
mov ecx, eax
call dword [0x530704]
mov ecx, eax
call dword [0x530700]
mov ecx, eax
call dword [0x530700]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x530710]
push ecx
lea eax, [edi + 0x88]
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.004314c0
push 0xb
push str.dflash_addr
mov dword [edi + 0x8c], eax
call ebx
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x31
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x32
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0x90]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 0xb
push str.dflash_size
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x33
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x34
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0x94]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
lea eax, [edi + 0x94]
push eax
lea eax, [edi + 0x90]
push eax
call fcn.00432a00
add esp, 8
test al, al
jne 0x490fcd
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
lea ecx, [edi + 0x94]
mov byte [ebp - 4], 0x35
push ecx
lea ecx, [edi + 0x90]
push ecx
push str.check_memory_error:
mov ecx, eax
call dword [0x530704]
mov ecx, eax
call dword [0x530700]
mov ecx, eax
call dword [0x530700]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x530710]
push ecx
lea eax, [edi + 0x94]
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.004314c0
push 0xb
push str.eeprom_addr
mov dword [edi + 0x98], eax
call ebx
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x36
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x37
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0x9c]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 0xb
push str.eeprom_size
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x38
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x39
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xa0]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
lea eax, [edi + 0xa0]
push eax
lea eax, [edi + 0x9c]
push eax
call fcn.00432a00
add esp, 8
test al, al
jne 0x491111
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
lea ecx, [edi + 0xa0]
mov byte [ebp - 4], 0x3a
push ecx
lea ecx, [edi + 0x9c]
push ecx
push str.check_memory_error:
mov ecx, eax
call dword [0x530704]
mov ecx, eax
call dword [0x530700]
mov ecx, eax
call dword [0x530700]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x530710]
push ecx
lea eax, [edi + 0xa0]
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.004314c0
push 9
push str.boot_addr
mov dword [edi + 0xa4], eax
call ebx
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x3c
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xa8]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 9
push str.boot_size
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3d
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x3e
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xac]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
lea eax, [edi + 0xac]
push eax
lea eax, [edi + 0xa8]
push eax
call fcn.00432a00
add esp, 8
test al, al
jne 0x491255
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
lea ecx, [edi + 0xac]
mov byte [ebp - 4], 0x3f
push ecx
lea ecx, [edi + 0xa8]
push ecx
push str.check_memory_error:
mov ecx, eax
call dword [0x530704]
mov ecx, eax
call dword [0x530700]
mov ecx, eax
call dword [0x530700]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x530710]
push 9
push str.opbt_addr
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x40
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x41
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xb0]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 9
push str.opbt_size
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x42
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x43
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xb4]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
lea eax, [edi + 0xb4]
push eax
lea eax, [edi + 0xb0]
push eax
call fcn.00432a00
add esp, 8
test al, al
jne 0x49137e
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
lea ecx, [edi + 0xb4]
mov byte [ebp - 4], 0x44
push ecx
lea ecx, [edi + 0xb0]
push ecx
push str.check_memory_error:
mov ecx, eax
call dword [0x530704]
mov ecx, eax
call dword [0x530700]
mov ecx, eax
call dword [0x530700]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x530710]
push 0xb
push str.config_addr
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x45
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x46
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xb8]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 0xb
push str.config_size
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x47
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x48
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xbc]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
lea eax, [edi + 0xbc]
push eax
lea eax, [edi + 0xb8]
push eax
call fcn.00432a00
add esp, 8
test al, al
jne 0x4914a7
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
lea ecx, [edi + 0xbc]
mov byte [ebp - 4], 0x49
push ecx
lea ecx, [edi + 0xb8]
push ecx
push str.check_memory_error:
mov ecx, eax
call dword [0x530704]
mov ecx, eax
call dword [0x530700]
mov ecx, eax
call dword [0x530700]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x530710]
push 0xb
push str.shadow_addr
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4a
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x4b
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xc0]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
push 0xb
push str.shadow_size
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4c
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x4d
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [edi + 0xc4]
push eax
call dword [0x53063c]
lea ecx, [ebp - 0x2c]
call dword [0x5307a0]
lea ecx, [ebp - 0x3c]
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
lea eax, [edi + 0xc4]
push eax
lea eax, [edi + 0xc0]
push eax
call fcn.00432a00
add esp, 8
test al, al
jne 0x4915d0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
lea ecx, [edi + 0xc4]
mov byte [ebp - 4], 0x4e
push ecx
lea ecx, [edi + 0xc0]
push ecx
push str.check_memory_error:
mov ecx, eax
call dword [0x530704]
mov ecx, eax
call dword [0x530700]
mov ecx, eax
call dword [0x530700]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
call dword [0x530710]
push 7
push str.ep_read
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4f
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
call esi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x50
call dword [0x530734]
dec eax
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0xc8], eax
call dword [0x530740]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [0x5307a0]
cmp byte [ebp + 8], 0
je 0x49162e
mov eax, dword [edi + 0x158]
jmp 0x491634
mov eax, dword [edi + 0x138]
cmp eax, 1
jne 0x491666
push 0x533fb0
lea ecx, [edi + 0x174]
call dword [0x530414]
push str.PFLASH
lea ecx, [edi + 0x178]
call dword [0x530414]
lea eax, [edi + 0x88]
jmp 0x4917b1
cmp eax, 2
jne 0x4916b0
push 0x531f40
lea ecx, [edi + 0x174]
call dword [0x530414]
push str.DFLASH
lea ecx, [edi + 0x178]
call dword [0x530414]
push ecx
mov ecx, esp
lea esi, [edi + 0x94]
push esi
call dword [0x5307a4]
call fcn.004314c0
add esp, 4
mov dword [edi + 0x17c], eax
jmp 0x4917cf
cmp eax, 3
jne 0x4916e2
push 0x53508c
lea ecx, [edi + 0x174]
call dword [0x530414]
push 0x53ef80
lea ecx, [edi + 0x178]
call dword [0x530414]
lea eax, [edi + 0xa0]
jmp 0x4917b1
cmp eax, 4
jne 0x49173e
push 0x533fb4
lea ecx, [edi + 0x174]
call dword [0x530414]
push str.P__D
lea ecx, [edi + 0x178]
call dword [0x530414]
push ecx
lea eax, [edi + 0x88]
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.004314c0
mov esi, eax
lea eax, [edi + 0x94]
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.004314c0
add esp, 4
add eax, esi
jmp 0x4917c3
cmp eax, 5
jne 0x491784
push 0x535094
lea ecx, [edi + 0x174]
call dword [0x530414]
push str.P__E
lea ecx, [edi + 0x178]
call dword [0x530414]
push ecx
lea eax, [edi + 0x88]
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.004314c0
mov esi, eax
lea eax, [edi + 0xa0]
jmp 0x491726
cmp eax, 0xb
jne 0x4917c9
push 0x5350a4
lea ecx, [edi + 0x174]
call dword [0x530414]
push 0x54a1a8
lea ecx, [edi + 0x178]
call dword [0x530414]
lea eax, [edi + 0xc4]
push ecx
mov ecx, esp
push eax
call dword [0x5307a4]
call fcn.004314c0
add esp, 4
mov dword [edi + 0x17c], eax
lea esi, [edi + 0x94]
mov eax, dword [edi + 0x10c]
cmp eax, 2
je 0x491897
cmp eax, 5
je 0x491897
cmp eax, 6
je 0x491897
cmp eax, 3
jne 0x49181a
cmp dword [edi + 0x13c], 0
jg 0x49193c
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax + 4], ecx
setle cl
add ecx, 2
mov dword [edi + 0x194], ecx
jmp 0x491946
cmp eax, 4
jne 0x491888
push 6
push str.9S12XE
call ebx
add esp, 8
mov dword [ebp + 8], eax
push 0
push 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x53
push eax
lea ecx, [edi + 0x64]
call dword [0x530634]
cmp eax, 0xffffffff
lea ecx, [ebp + 8]
setne bl
call dword [0x5307a0]
test bl, bl
je 0x491862
mov dword [edi + 0x194], 4
jmp 0x49186c
mov dword [edi + 0x194], 6
cmp dword [edi + 0xf4], 0x14
jne 0x491946
mov dword [edi + 0x194], 5
jmp 0x491946
mov dword [edi + 0x194], 6
jmp 0x491946
cmp dword [edi + 0x6c], 4
jne 0x49193c
push 2
push 0x535470
call ebx
add esp, 8
mov dword [ebp - 0x20], eax
mov esi, dword [0x530634]
lea eax, [ebp - 0x20]
push 0
push 0
push eax
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 0x51
mov dword [ebp - 0x24], 1
call esi
cmp eax, 0xffffffff
jne 0x491909
push 4
push str.LC56
call ebx
add esp, 8
mov dword [ebp - 0x28], eax
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x52
mov ebx, 3
lea ecx, [edi + 0x64]
push eax
mov dword [ebp - 0x24], ebx
call esi
cmp eax, 0xffffffff
jne 0x49190e
mov byte [ebp + 0xb], 0
jmp 0x491912
mov ebx, 1
mov byte [ebp + 0xb], 1
test bl, 2
je 0x491920
lea ecx, [ebp - 0x28]
call dword [0x5307a0]
lea ecx, [ebp - 0x20]
call dword [0x5307a0]
xor eax, eax
cmp byte [ebp + 0xb], al
setne al
add eax, 2
mov dword [edi + 0x194], eax
jmp 0x491946
mov dword [edi + 0x194], 1
lea ecx, [ebp - 0x14]
call dword [0x5307a0]
lea ecx, [ebp - 0x18]
call dword [0x5307a0]
lea ecx, [ebp - 0x1c]
call dword [0x5307a0]
lea ecx, [ebp - 0x10]
call dword [0x5309c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4