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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x1cc], eax
mov eax, dword [esp + 0x58]
mov byte [ebx + 0x728], 0
mov dword [ebx + 0x20c], 1
mov dword [ebx + 0x210], 1
mov dword [ebx + 0x214], 0
mov dword [ebx + 0x218], 0
mov dword [ebx + 0x21c], 0xffffffff
mov dword [ebx + 0x1ac], 0x2000000
mov dword [ebx + 0x1b0], 0x1ffffff
mov dword [ebx + 0x404], 1
mov dword [ebx + 0x408], 1
mov dword [ebx + 0x40c], 1
mov dword [ebx + 0x340], 0
test eax, eax
je 0x405dcd
lea edi, [ebx + 0x225]
lea eax, [ebx + 0x221]
mov byte [ebx + 0x220], 0
mov dword [ebx + 0x221], 0
and edi, 0xfffffffc
mov dword [ebx + 0x29d], 0
sub eax, edi
lea ecx, [eax + 0x80]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [esp], 0x50
call sym._malloc
mov dword [ebx + 0x720], eax
mov esi, eax
test eax, eax
je 0x40600c
xor ebp, ebp
lea edi, [ebp + 8]
xor eax, eax
mov word [esi + edi*2 + 4], ax
xor eax, eax
mov word [esi + edi*2 + 0xa], ax
mov dword [esp + 4], 2
mov dword [esp], 1
call sym._calloc
mov dword [esi + edi*4 + 4], eax
test eax, eax
je 0x405fde
xor edx, edx
xor ecx, ecx
xor edi, edi
mov word [eax], dx
mov word [esi + ebp*2 + 0xc], cx
mov word [esi + ebp*2 + 0x3c], di
add ebp, 1
mov dword [esi + 0x4c], 0
mov dword [esi + 8], 0xabcde
cmp ebp, 3
jne 0x403a2d
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esp], esi
mov dword [esp + 4], 0
call dbg.gettimeofday
mov esi, dword [ebx + 0x1ac]
mov dword [esp], esi
call sym._malloc
mov dword [ebx + 0x1a0], eax
test eax, eax
je 0x405f98
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 0x2c], esi
test byte [eax], 1
jne 0x405de1
mov dword [esp], 4
call sym._malloc
mov dword [ebx + 0x88], eax
test eax, eax
je 0x405f78
mov dword [esp], 0xc8
call sym._malloc
mov dword [ebx + 0x1f8], eax
test eax, eax
je 0x405f58
xor edi, edi
mov byte [ebx + 0x1f4], 0
mov dword [ebx + 0x1a4], 0
mov dword [ebx + 0x1a8], 0
mov dword [ebx + 0x1e0], 0
mov dword [ebx + 0x1e8], 0
mov dword [ebx + 0x1ec], 0
mov dword [ebx + 0x1d0], 0
mov dword [ebx + 0x1d4], 0
mov dword [ebx + 0x1d8], 0
mov word [ebx + 0x39a], di
mov dword [ebx + 0x39c], 0
mov dword [ebx + 0x1dc], 0
mov dword [ebx + 0x204], 0x80000
mov dword [ebx + 0x208], 0x7ffff
mov dword [ebx + 0x200], 0
mov dword [esp], 0x100000
call sym._malloc
mov edx, dword [ebx + 0x1cc]
mov dword [ebx + 0x1fc], eax
test byte [edx], 1
jne 0x405e57
test eax, eax
je 0x405e8d
mov dword [esp], 0x759
call sym._malloc
mov dword [ebx + 0x2a4], eax
test eax, eax
je 0x405ee6
mov eax, dword [ebx + 0x1cc]
test byte [eax], 1
jne 0x405e2a
mov eax, dword [ebx + 0x2a4]
xor esi, esi
lea ebp, [ebx + 0x3ec]
lea edi, [eax + 4]
mov dword [eax], 0
mov dword [eax + 0x755], 0
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0x759]
mov eax, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [esp + 4], str.T_COLD
mov eax, dword [ebx + 0x2a4]
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x10], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x11], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x15], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x19], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1d], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x12], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x16], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1a], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1e], 8
mov dword [esp + 4], str.T_HOT
mov eax, dword [ebx + 0x2a4]
add eax, 0x21
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x31], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x32], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x36], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3a], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3e], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x33], 3
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x37], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3b], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3f], 8
mov dword [esp + 4], str.FAN_DUTY
mov eax, dword [ebx + 0x2a4]
add eax, 0x42
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x52], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x53], 4
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x57], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5b], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5f], 0
mov dword [esp + 4], str.FAN_OK
mov eax, dword [ebx + 0x2a4]
add eax, 0x63
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x73], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x74], 5
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x78], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x7c], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x80], 0
mov dword [esp + 4], str.REVISION
mov eax, dword [ebx + 0x2a4]
add eax, 0x84
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x94], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x95], 6
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x99], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x9d], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xa1], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x96], 7
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x9a], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x9e], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xa2], 8
mov dword [esp + 4], str.REG_DEBUG
mov eax, dword [ebx + 0x2a4]
add eax, 0xa5
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xb5], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xb6], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xba], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xbe], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xc2], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xb7], 9
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xbb], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xbf], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xc3], 8
mov dword [esp + 4], str.VPELT
mov eax, dword [ebx + 0x2a4]
add eax, 0xc6
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xd6], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xd7], 0xc
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xdb], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xdf], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xe3], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xd8], 0xd
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xdc], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xe0], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xe4], 8
mov dword [esp + 4], str.IPELT
mov eax, dword [ebx + 0x2a4]
add eax, 0xe7
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xf7], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xf8], 0xe
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xfc], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x100], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x104], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xf9], 0xf
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0xfd], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x101], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x105], 8
mov dword [esp + 4], str.DC_PELTLVL
mov eax, dword [ebx + 0x2a4]
add eax, 0x108
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x118], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x119], 0x1a
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x11d], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x121], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x125], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x11a], 0x1b
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x11e], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x122], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x126], 8
mov dword [esp + 4], str.IR_PG_PELT
mov eax, dword [ebx + 0x2a4]
add eax, 0x129
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x139], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x13a], 0x24
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x13e], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x142], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x146], 0
mov dword [esp + 4], str.IR_EN_PELT
mov eax, dword [ebx + 0x2a4]
add eax, 0x14a
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x15a], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x15b], 0x24
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x15f], 3
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x163], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x167], 0
mov dword [esp + 4], str.TCTRL_EN
mov eax, dword [ebx + 0x2a4]
add eax, 0x16b
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x17b], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x17c], 0x24
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x180], 4
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x184], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x188], 0
mov dword [esp + 4], str.RFENINV
mov eax, dword [ebx + 0x2a4]
add eax, 0x18c
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x19c], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x19d], 0x25
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1a1], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1a5], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1a9], 0
mov dword [esp + 4], 0x497124
mov eax, dword [ebx + 0x2a4]
add eax, 0x1ad
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1bd], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1be], 0x25
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1c2], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1c6], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1ca], 0
mov dword [esp + 4], 0x497128
mov eax, dword [ebx + 0x2a4]
add eax, 0x1ce
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1de], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1df], 0x25
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1e3], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1e7], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1eb], 0
mov dword [esp + 4], 0x49712c
mov eax, dword [ebx + 0x2a4]
add eax, 0x1ef
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x1ff], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x200], 0x25
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x204], 5
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x208], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x20c], 0
mov dword [esp + 4], 0x497130
mov eax, dword [ebx + 0x2a4]
add eax, 0x210
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x220], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x221], 0x36
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x225], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x229], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x22d], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x222], 0x37
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x226], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x22a], 6
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x22e], 8
mov dword [esp + 4], 0x497134
mov eax, dword [ebx + 0x2a4]
add eax, 0x231
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x241], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x242], 0x38
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x246], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x24a], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x24e], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x243], 0x39
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x247], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x24b], 6
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x24f], 8
mov dword [esp + 4], 0x497138
mov eax, dword [ebx + 0x2a4]
add eax, 0x252
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x262], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x263], 0x3a
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x267], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x26b], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x26f], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x264], 0x3b
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x268], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x26c], 6
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x270], 8
mov dword [esp + 4], str.T_OFFS
mov eax, dword [ebx + 0x2a4]
add eax, 0x273
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x283], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x284], 0x3e
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x288], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x28c], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x290], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x285], 0x3f
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x289], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x28d], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x291], 8
mov dword [esp + 4], str.SKIPCNT
mov eax, dword [ebx + 0x2a4]
add eax, 0x294
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2a4], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2a5], 0x40
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2a9], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2ad], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2b1], 0
mov dword [esp + 4], str.BUFVAL_SOFT
mov eax, dword [ebx + 0x2a4]
add eax, 0x2b5
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2c5], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2c6], 0x42
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2ca], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2ce], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2d2], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2c7], 0x43
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2cb], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2cf], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2d3], 8
mov dword [esp + 4], str.BUFWR_SOFT
mov eax, dword [ebx + 0x2a4]
add eax, 0x2d6
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2e6], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2e7], 0x44
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2eb], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2ef], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x2f3], 0
mov dword [esp + 4], str.SD_IN_FIFO_S
mov eax, dword [ebx + 0x2a4]
add eax, 0x2f7
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x307], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x308], 0x44
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x30c], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x310], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x314], 0
mov dword [esp + 4], str.SD_STATE
mov eax, dword [ebx + 0x2a4]
add eax, 0x318
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x328], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x329], 0x44
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x32d], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x331], 5
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x335], 0
mov dword [esp + 4], str.SD_SOFT
mov eax, dword [ebx + 0x2a4]
add eax, 0x339
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x349], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x34a], 0x44
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x34e], 7
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x352], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x356], 0
mov dword [esp + 4], str.SD_RD_SW
mov eax, dword [ebx + 0x2a4]
add eax, 0x35a
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x36a], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x36b], 0x45
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x36f], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x373], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x377], 0
mov dword [esp + 4], str.SD_NEWDAT
mov eax, dword [ebx + 0x2a4]
add eax, 0x37b
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x38b], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x38c], 0x45
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x390], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x394], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x398], 0
mov dword [esp + 4], str.SD_OUT_FIFO_S
mov eax, dword [ebx + 0x2a4]
add eax, 0x39c
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3ac], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3ad], 0x45
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3b1], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3b5], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3b9], 0
mov dword [esp + 4], str.SD_BA_COL_R
mov eax, dword [ebx + 0x2a4]
add eax, 0x3bd
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3cd], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3ce], 0x46
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3d2], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3d6], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3da], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3cf], 0x47
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3d3], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3d7], 7
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3db], 8
mov dword [esp + 4], str.SD_FIFO_WADDR
mov eax, dword [ebx + 0x2a4]
add eax, 0x3de
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3ee], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3ef], 0x48
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3f3], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3f7], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3fb], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3f0], 0x49
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3f4], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3f8], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x3fc], 8
mov dword [esp + 4], str.SD_FIFO_RADDR
mov eax, dword [ebx + 0x2a4]
add eax, 0x3ff
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x40f], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x410], 0x4a
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x414], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x418], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x41c], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x411], 0x4b
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x415], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x419], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x41d], 8
mov dword [esp + 4], str.SD_RCOLS
mov eax, dword [ebx + 0x2a4]
add eax, 0x420
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x430], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x431], 0x4c
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x435], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x439], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x43d], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x432], 0x4d
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x436], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x43a], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x43e], 8
mov dword [esp + 4], str.TXE_CNT
mov eax, dword [ebx + 0x2a4]
add eax, 0x441
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x451], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x452], 0x4e
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x456], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x45a], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x45e], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x453], 0x4f
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x457], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x45b], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x45f], 8
mov dword [esp + 4], str.TRIG_SOFT
mov eax, dword [ebx + 0x2a4]
add eax, 0x462
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x472], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x473], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x477], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x47b], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x47f], 0
mov dword [esp + 4], str.TRIG_EDGE
mov eax, dword [ebx + 0x2a4]
add eax, 0x483
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x493], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x494], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x498], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x49c], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4a0], 0
mov dword [esp + 4], str.TRIG_OUTPUT
mov eax, dword [ebx + 0x2a4]
add eax, 0x4a4
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4b4], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4b5], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4b9], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4bd], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4c1], 0
mov dword [esp + 4], str.TRIG_SYNC
mov eax, dword [ebx + 0x2a4]
add eax, 0x4c5
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4d5], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4d6], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4da], 3
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4de], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4e2], 0
mov dword [esp + 4], str.TRIG_POL
mov eax, dword [ebx + 0x2a4]
add eax, 0x4e6
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4f6], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4f7], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4fb], 4
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x4ff], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x503], 0
mov dword [esp + 4], str.TRIG_OUTPUT2
mov eax, dword [ebx + 0x2a4]
add eax, 0x507
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x517], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x518], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x51c], 5
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x520], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x524], 0
mov dword [esp + 4], str.TRIG_SYNC2
mov eax, dword [ebx + 0x2a4]
add eax, 0x528
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x538], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x539], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x53d], 6
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x541], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x545], 0
mov dword [esp + 4], str.TRIG_POL2
mov eax, dword [ebx + 0x2a4]
add eax, 0x549
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x559], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x55a], 0x54
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x55e], 7
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x562], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x566], 0
mov dword [esp + 4], str.TRIG_SOURCE
mov eax, dword [ebx + 0x2a4]
add eax, 0x56a
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x57a], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x57b], 0x55
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x57f], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x583], 3
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x587], 0
mov dword [esp + 4], str.TRIG_STREAM
mov eax, dword [ebx + 0x2a4]
add eax, 0x58b
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x59b], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x59c], 0x55
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5a0], 3
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5a4], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5a8], 0
mov dword [esp + 4], str.TRIG_STREAM2
mov eax, dword [ebx + 0x2a4]
add eax, 0x5ac
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5bc], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5bd], 0x55
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5c1], 4
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5c5], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5c9], 0
mov dword [esp + 4], str.TRIG_ARM
mov eax, dword [ebx + 0x2a4]
add eax, 0x5cd
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5dd], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5de], 0x55
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5e2], 5
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5e6], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5ea], 0
mov dword [esp + 4], str.TRIG_LEVEL
mov eax, dword [ebx + 0x2a4]
add eax, 0x5ee
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5fe], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x5ff], 0x56
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x603], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x607], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x60b], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x600], 0x57
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x604], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x608], 6
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x60c], 8
mov dword [esp + 4], str.SD_RBYTE
mov eax, dword [ebx + 0x2a4]
add eax, 0x60f
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x61f], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x620], 0x58
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x624], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x628], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x62c], 0
mov dword [esp + 4], str.STAT_MA
mov eax, dword [ebx + 0x2a4]
add eax, 0x630
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x640], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x641], 0x59
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x645], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x649], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x64d], 0
mov dword [esp + 4], str.STAT_MA_EN
mov eax, dword [ebx + 0x2a4]
add eax, 0x651
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x661], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x662], 0x59
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x666], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x66a], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x66e], 0
mov dword [esp + 4], str.STAT_SNAP
mov eax, dword [ebx + 0x2a4]
add eax, 0x672
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x682], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x683], 0x59
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x687], 2
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x68b], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x68f], 0
mov dword [esp + 4], str.SPFL_START
mov eax, dword [ebx + 0x2a4]
add eax, 0x693
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6a3], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6a4], 0x59
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6a8], 3
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6ac], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6b0], 0
mov dword [esp + 4], str.SPFL_STOP
mov eax, dword [ebx + 0x2a4]
add eax, 0x6b4
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6c4], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6c5], 0x59
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6c9], 4
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6cd], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6d1], 0
mov dword [esp + 4], str.SPFL_RDY
mov eax, dword [ebx + 0x2a4]
add eax, 0x6d5
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6e5], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6e6], 0x59
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6ea], 5
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6ee], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x6f2], 0
mov dword [esp + 4], str.STAT_EN
mov eax, dword [ebx + 0x2a4]
add eax, 0x6f6
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x706], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x707], 0x59
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x70b], 6
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x70f], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x713], 0
mov dword [esp + 4], str.SPFL_DO
mov eax, dword [ebx + 0x2a4]
add eax, 0x717
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x727], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x728], 0x5a
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x72c], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x730], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x734], 0
mov dword [esp + 4], str.SPFL_DI
mov eax, dword [ebx + 0x2a4]
add eax, 0x738
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x2a4]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [eax + 0x748], 1
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x749], 0x5b
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x74d], 0
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x751], 8
mov eax, dword [ebx + 0x2a4]
mov byte [eax + 0x755], 0
lea eax, [ebx + 0x348]
mov dword [esp], eax
call edi
lea eax, [ebx + 0x2a8]
sub esp, 4
mov dword [esp], eax
call edi
lea eax, [ebx + 0x1b4]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], ebp
call edi
mov dword [ebx + 0x2c0], 0xfffffc18
mov dword [ebx + 0x2c4], 0xffffffff
sub esp, 4
mov dword [ebx + 0x2c8], 0x2710
mov dword [ebx + 0x2cc], 0
mov dword [ebx + 0x2d8], 1
mov dword [ebx + 0x2e0], 0
mov dword [ebx + 0x2e4], 0x3f800000
mov dword [ebx + 0x2e8], 0
mov dword [ebx + 0x344], 0
mov dword [ebx + 0x310], 0
mov dword [ebx + 0x314], 0
mov dword [ebx + 0x2d0], 0
mov dword [ebx + 0x2d4], 0
mov dword [ebx + 0x2dc], 0
mov dword [ebx + 0x318], 0
mov dword [ebx + 0x320], 0
mov dword [ebx + 0x324], 0
mov dword [ebx + 0x328], 0
mov dword [ebx + 0x32c], 0
mov dword [ebx + 0x2f0], 0
mov dword [ebx + 0x2f4], 0
mov dword [ebx + 0x2f8], 0
mov dword [ebx + 0x2fc], 0
mov dword [ebx + 0x300], 0
mov dword [ebx + 0x308], 0
mov dword [ebx + 0x304], 0
mov dword [ebx + 0x330], 0
mov dword [ebx + 0x338], 0
mov dword [ebx + 0x33c], 0
mov dword [ebx + 0x1e8], 0
mov dword [ebx + 0x1ec], 0
mov dword [esp + 0x10], 1
mov dword [esp + 8], 0x2710
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xfffffc18
mov dword [esp], ebx
call sym._reallocRFFifoBuffers
lea eax, [ebx + 0x5f0]
mov dword [ebx + 0x414], 0
mov dword [ebx + 0x418], 0
fld1
fstp qword [ebx + 0x428]
mov dword [ebx + 0x41c], 0
mov dword [ebx + 0x420], 0
mov dword [ebx + 0x444], 0
mov dword [ebx + 0x464], 0
mov dword [ebx + 0x484], 0
mov dword [ebx + 0x4d8], 0
mov dword [ebx + 0x558], 0
mov dword [ebx + 0x4a4], 0
mov dword [ebx + 0x4c4], 0
mov dword [ebx + 0x568], 0
mov dword [ebx + 0x5e8], 0
mov dword [esp], eax
call edi
fld dword [0x498a00]
lea edi, [ebx + 0x3a4]
sub esp, 4
fst qword [ebx + 0x360]
fstp qword [ebx + 0x370]
mov dword [esp + 8], 1
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1f8]
mov dword [esp], eax
call sym._correctionInit
mov eax, dword [ebx + 0x1f8]
and edi, 0xfffffffc
mov byte [eax + 0x34], 1
mov eax, dword [ebx + 0x1f8]
fld qword [eax + 0x18]
mov byte [ebx + 0x398], 1
fstp qword [ebx + 0x368]
fldz
fst qword [ebx + 0x378]
fst qword [ebx + 0x380]
fst qword [ebx + 0x388]
fstp qword [ebx + 0x390]
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebx + 0x3a0]
fld dword [0x4989f0]
mov eax, esi
mov dword [ebx + 0x3a0], 0
sub ecx, edi
sub esp, 4
mov dword [ebx + 0x3cc], 0
add ecx, 0x30
shr ecx, 2
rep stosd dword es:[edi], eax
fst qword [ebx + 0x3d0]
fst qword [ebx + 0x3d8]
fstp qword [ebx + 0x3e0]
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [esp], 0x1f0
call sym._malloc
mov dword [ebx + 0x724], eax
mov esi, eax
test eax, eax
je 0x405f32
mov dword [esp], 0xc8
call sym._malloc
mov dword [esi + 0x1a8], eax
test eax, eax
je 0x405f06
mov dword [esp + 8], 0
mov edx, dword [ebx + 0x1cc]
xor ebp, ebp
mov edi, 0x1000
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._correctionInit
mov eax, dword [ebx + 0x724]
mov eax, dword [eax + 0x1a8]
mov byte [eax + 0x34], 1
mov eax, dword [ebx + 0x724]
mov eax, dword [eax + 0x1a8]
mov byte [eax], 0
mov eax, dword [ebx + 0x724]
mov byte [eax + 1], 0
mov eax, dword [ebx + 0x724]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x1e0], 0
mov dword [eax + 0x1e4], 0
mov dword [eax + 0x1d0], 0
mov dword [eax + 0x1d4], 0
mov byte [eax + 0x1e8], 0
mov dword [esp + 4], str.stream
mov eax, dword [ebx + 0x724]
add eax, 0x20
mov dword [esp], eax
call sym.sprintf_char__char_const__..._
mov eax, dword [ebx + 0x724]
xor edx, edx
mov ecx, 0x1000
mov byte [eax + 0x1cc], 0
mov eax, dword [ebx + 0x724]
mov byte [eax + 0x1dc], 0
fld qword [ebx + 0x360]
mov dword [eax + 0x1d8], 0
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0x1b8], 0xffffffff
mov dword [eax + 0x1bc], 0xffffffff
mov dword [eax + 0xd4], 0
mov word [eax + 0x1c0], dx
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x1c8], 0
mov dword [eax + 0x158], edx
mov edx, dword [ebx + 0x1f8]
fstp dword [eax + 0x118]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x198], dl
mov eax, dword [ebx + 0x724]
fld qword [ebx + 0x360]
mov dword [eax + 0xd8], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x15c], edx
mov edx, dword [ebx + 0x1f8]
fstp dword [eax + 0x11c]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x199], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xdc], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x160], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x120]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x19a], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xe0], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x164], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x124]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x19b], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xe4], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x168], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x128]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x19c], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xe8], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x16c], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x12c]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x19d], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xec], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x170], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x130]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x19e], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xf0], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x174], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x134]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x19f], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xf4], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x178], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x138]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a0], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xf8], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x17c], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x13c]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a1], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0xfc], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x180], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x140]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a2], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0x100], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x184], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x144]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a3], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0x104], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x188], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x148]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a4], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0x108], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x18c], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x14c]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a5], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0x10c], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x190], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x150]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a6], dl
mov eax, dword [ebx + 0x724]
mov dword [eax + 0x110], 0
mov edx, dword [ebx + 0x20c]
mov dword [eax + 0x194], edx
fld qword [ebx + 0x360]
fstp dword [eax + 0x154]
mov edx, dword [ebx + 0x1f8]
movzx edx, byte [edx + 0x34]
mov byte [eax + 0x1a7], dl
mov eax, dword [ebx + 0x724]
mov byte [eax + 0x114], 0
mov esi, dword [ebx + 0x724]
mov word [esi + 0xbc], cx
mov dword [esi + 0xc8], 0xfff
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov dword [esp + 4], 2
mov dword [esp], edi
call sym._calloc
mov dword [esi + ebp*4 + 0xa0], eax
test eax, eax
je 0x405eb5
mov dword [esp + 4], 4
mov dword [esp], edi
call sym._calloc
mov dword [esi + ebp*4 + 0xb0], eax
test eax, eax
je 0x40607e
add ebp, 1
cmp ebp, 3
jne 0x405c10
mov dword [esp + 4], 4
mov dword [esp], edi
call sym._calloc
mov dword [esi + 0xac], eax
test eax, eax
je 0x406058
mov dword [esp + 4], 1
mov dword [esp], 0x3001b
call sym._calloc
mov dword [esi + 0x1ac], eax
test eax, eax
je 0x406032
mov dword [esp + 4], 1
mov dword [esp], 0x1c00
call sym._calloc
mov dword [esi + 0x1b0], eax
test eax, eax
je 0x405fbe
fldz
mov byte [ebx + 0x608], 0
fst dword [ebx + 0x61c]
fstp dword [ebx + 0x620]
fld dword [0x498a00]
mov dword [ebx + 0x610], 0xa0b5ed8d
mov dword [ebx + 0x614], 0x3ea0c6f7
mov dword [ebx + 0x618], 0
mov dword [ebx + 0x624], 0x40c00000
mov dword [ebx + 0x628], 1
mov dword [ebx + 0x62c], 0
mov dword [ebx + 0x630], 0x3f800000
mov dword [ebx + 0x64c], 0
mov dword [ebx + 0x660], 0
mov dword [ebx + 0x6e0], 0
mov dword [ebx + 0x6e8], 0x1f4
mov dword [ebx + 0x6ec], 0x3e8
mov dword [ebx + 0x6f0], 0x383
mov byte [ebx + 0x6f4], 0
mov dword [ebx + 0x708], 0xa
mov dword [ebx + 0x700], 0x9999999a
mov dword [ebx + 0x704], 0x3ff19999
mov dword [ebx + 0x710], 0
mov dword [ebx + 0x70c], 0
mov dword [ebx + 0x718], 0
mov dword [ebx + 0x714], 0
fstp qword [ebx + 0x6f8]
mov dword [esp], ebx
call sym._computeNewSweepFreqList
mov eax, dword [ebx + 0x1cc]
test byte [eax], 1
jne 0x405e0a
mov dword [ebx + 0x734], 0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 0x720], 0
mov esi, 0x2000000
jmp 0x403ac7
mov dword [esp + 8], esi
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.DEBUG:_d:CI250_MemInit__:USB_MEM_ci250__usbFifo:__ld_n
mov dword [esp + 4], eax
call sym._pprintf
mov esi, dword [ebx + 0x1ac]
mov dword [esp + 0x2c], esi
jmp 0x403af0
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.DEBUG:_d:CI250_MemInit__:USB_MEM:__ld_n
mov dword [esp + 4], eax
call sym._pprintf
jmp 0x405dbb
lea eax, [esi + 0x759]
mov dword [esp + 8], 0x759
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.DEBUG:_d:CI250_MemInit__:USB_MEM_ci250__regdefs:__ld_n
mov dword [esp + 4], eax
call sym._pprintf
jmp 0x403c08
mov dword [esp + 8], 0x100000
mov eax, dword [ebx + 0x18c]
add esi, 0x100000
mov dword [esp], str.DEBUG:_d:CI250_MemInit__:USB_MEM_ci250__lfFifo:__ld_n
mov dword [esp + 4], eax
mov dword [esp + 0x2c], esi
call sym._pprintf
mov eax, dword [ebx + 0x1fc]
test eax, eax
jne 0x403bdf
mov dword [esp + 8], 3
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__Failed_allocate_LF_FIFO_memory__d_n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
jmp 0x403bdf
mov dword [esp + 8], ebp
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__calloc__ci250__stream__rfFifoRssi__d__failed._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x724]
movzx edi, word [esi + 0xbc]
jmp 0x405c2f
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__Failed_allocate_ci250__regdefs_memory_n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
jmp 0x403bf9
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__Failed_allocate_corr_memory._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov eax, dword [ebx + 0x724]
mov eax, dword [eax + 0x1a8]
jmp 0x405732
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__Failed_allocate_stream_memory._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x724]
jmp 0x405718
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__Failed_allocate_corr_memory._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
jmp 0x403b24
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__malloc_ci250__thread_failed_n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
jmp 0x403b0a
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__Failed_allocate_USB_FIFO_memory_n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x1ac]
jmp 0x403add
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__calloc_ci250__stream__WriteBuf_failed._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
jmp 0x405cb8
mov dword [esp + 8], ebp
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit____realloc_ci250__virt__rfield__d__n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x720]
mov eax, dword [esi + edi*4 + 4]
jmp 0x403a5e
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit____malloc_ci250__virt_failed_n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x720]
jmp 0x403a2b
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__calloc_ci250__stream__lutEBuf_failed._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x724]
jmp 0x405c96
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__calloc__ci250__stream__lfFifoIdx_failed._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x724]
jmp 0x405c74
mov dword [esp + 8], ebp
mov eax, dword [ebx + 0x18c]
mov dword [esp], str.ERROR:_d:CI250_MemInit__calloc__ci250__stream__rfFifoE__d__failed._n
mov dword [esp + 4], eax
call sym._pprintf
call sym._exit_programm
mov esi, dword [ebx + 0x724]
movzx edi, word [esi + 0xbc]
jmp 0x405c4e