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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x502da5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x54f018]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x54f018]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x13c
xor ebx, ebx
lea esi, [edi + 0x2a0]
push ebx
push esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
mov dword [esp + 0x138], ebx
cmp dword [edi + 0x3ec], ebx
jne 0x47d9ca
lea edi, [esp + 0x10c]
call fcn.0047f0e0
jmp 0x47d9e0
push 0xffffffffffffffff
push ebx
add edi, 0x3dc
push edi
lea ecx, [esp + 0x118]
call fcn.00401460
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x130]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00401460
lea ecx, [esp + 0x38]
call fcn.004e9900
mov eax, dword [esp + 0x14]
mov byte [esp + 0x138], 1
mov eax, dword [eax + 0x10]
cmp eax, 0x11
jb 0x47da27
mov eax, 0x11
mov ecx, dword [esp + 0x14]
mov edi, 0x10
cmp dword [ecx + 0x14], edi
jb 0x47da37
mov ecx, dword [ecx]
push eax
push ecx
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push ebx
mov esi, 0xf
push 0x51d12c
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.004016d0
mov byte [esp + 0x138], 2
push 0xa
push str.FLASH_NAME
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 3
cmp dword [ecx + 0x14], edi
jb 0x47da9d
mov edx, ecx
mov esi, dword [edx]
jmp 0x47da9f
mov esi, ecx
mov eax, esi
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47dac0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xf8]
call fcn.004016d0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 4
call fcn.004e98d0
cmp dword [esp + 0x104], edi
jb 0x47db1c
mov ecx, dword [esp + 0xf0]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
cmp dword [esp + 0x5c], edi
jb 0x47db4a
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x138], 8
cmp dword [esp + 0x40], edi
jb 0x47db72
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0xe8], edi
jae 0x47db95
lea eax, [esp + 0xd4]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0x18]
push ecx
push eax
add edx, 0x2b1
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push 0x13
push str.IS_SUPPORT_SLC_MODE
lea ecx, [esp + 0x88]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.004016d0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x138], 9
cmp dword [eax + 0x14], edi
jb 0x47dbf0
mov ecx, eax
mov esi, dword [ecx]
jmp 0x47dbf2
mov esi, eax
mov eax, esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47dc07
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.004016d0
push ebx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0xa
call fcn.004e97a0
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x3d4], eax
cmp dword [esp + 0x78], edi
jb 0x47dc58
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 8
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x94], edi
jb 0x47dc8b
mov eax, dword [esp + 0x80]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push edi
push str.TLC_OP_ADDR_TYPE
lea ecx, [esp + 0x88]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0xb
cmp dword [ecx + 0x14], edi
jb 0x47dcc9
mov edx, ecx
mov esi, dword [edx]
jmp 0x47dccb
mov esi, ecx
mov eax, esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47dce0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.004016d0
push ebx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0xc
call fcn.004e9790
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3d8], al
cmp dword [esp + 0x78], edi
jb 0x47dd31
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 8
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x94], edi
jb 0x47dd64
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push ebx
push 0x51d12c
lea ecx, [esp + 0x88]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.004016d0
mov byte [esp + 0x138], 0xd
push 9
push str.FLASH_TAG
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0xe
cmp dword [edx + 0x14], edi
jb 0x47ddce
mov edx, dword [edx]
mov eax, edx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47dde3
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.004016d0
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0xf
call fcn.004e98d0
cmp dword [esp + 0x78], edi
jb 0x47de39
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0xcc], edi
jb 0x47de64
mov ecx, dword [esp + 0xb8]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov byte [esp + 0x138], 0x13
cmp dword [esp + 0x94], edi
jb 0x47de9b
mov edx, dword [esp + 0x80]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0xb0], edi
jae 0x47dec7
lea eax, [esp + 0x9c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x18]
push ecx
push eax
add edx, 0x331
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push 0xc
push str.BLOCK_OF_LUN
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x138], 0x14
cmp dword [eax + 0x14], edi
jb 0x47df16
mov ecx, eax
mov esi, dword [ecx]
jmp 0x47df18
mov esi, eax
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47df30
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x15
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x3b2], ax
cmp dword [esp + 0x40], edi
jb 0x47df80
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47dfad
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0x13
push str.EXTEND_BLOCK_OF_LUN
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x16
cmp dword [ecx + 0x14], edi
jb 0x47dfe0
mov edx, ecx
mov esi, dword [edx]
jmp 0x47dfe2
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47dff7
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x17
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov word [edx + 0x3b4], ax
cmp dword [esp + 0x40], edi
jb 0x47e047
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e074
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov eax, dword [esp + 0x18]
mov dx, word [eax + 0x3b4]
add dx, word [eax + 0x3b2]
push edi
push str.GAPS_BETWEEN_LUN
lea ecx, [esp + 0x50]
mov word [eax + 0x3b6], dx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x138], 0x18
cmp dword [eax + 0x14], edi
jb 0x47e0bf
mov ecx, eax
mov esi, dword [ecx]
jmp 0x47e0c1
mov esi, eax
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e0d6
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x19
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x3b8], ax
cmp dword [esp + 0x40], edi
jb 0x47e126
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e153
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xb
push str.LUN_OF_CHIP
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x1a
cmp dword [ecx + 0x14], edi
jb 0x47e186
mov edx, ecx
mov esi, dword [edx]
jmp 0x47e188
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e1a0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x1b
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3ba], al
cmp dword [esp + 0x40], edi
jb 0x47e1ef
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e21c
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xa
push str.PAGE_OF_WL
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x1c
cmp dword [edx + 0x14], edi
jb 0x47e24f
mov eax, edx
mov esi, dword [eax]
jmp 0x47e251
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e266
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x1d
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x3bb], al
cmp dword [esp + 0x40], edi
jb 0x47e2b5
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e2e2
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xb
push str.WL_OF_BLOCK
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x1e
cmp dword [ecx + 0x14], edi
jb 0x47e315
mov edx, ecx
mov esi, dword [edx]
jmp 0x47e317
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e330
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x1f
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov word [edx + 0x3bc], ax
cmp dword [esp + 0x40], edi
jb 0x47e380
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e3ad
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xd
push str.PAGE_OF_BLOCK
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x20
cmp dword [edx + 0x14], edi
jb 0x47e3e0
mov eax, edx
mov esi, dword [eax]
jmp 0x47e3e2
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e3f7
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x21
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x3be], ax
cmp dword [esp + 0x40], edi
jb 0x47e447
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e474
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0x11
push str.SLC_PAGE_OF_BLOCK
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x22
cmp dword [ecx + 0x14], edi
jb 0x47e4a7
mov edx, ecx
mov esi, dword [edx]
jmp 0x47e4a9
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e4c0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x23
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov word [edx + 0x3c0], ax
cmp dword [esp + 0x40], edi
jb 0x47e510
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e53d
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0x12
push str.REAL_PAGE_OF_BLOCK
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x24
cmp dword [edx + 0x14], edi
jb 0x47e570
mov eax, edx
mov esi, dword [eax]
jmp 0x47e572
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e587
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x25
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x3c2], ax
cmp dword [esp + 0x40], edi
jb 0x47e5d7
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e604
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xe
push str.SECTOR_OF_PAGE
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x26
cmp dword [ecx + 0x14], edi
jb 0x47e637
mov edx, ecx
mov esi, dword [edx]
jmp 0x47e639
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e650
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x27
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3c4], al
cmp dword [esp + 0x40], edi
jb 0x47e69f
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e6cc
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 9
push str.PLANE_NUM
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x28
cmp dword [edx + 0x14], edi
jb 0x47e6ff
mov eax, edx
mov esi, dword [eax]
jmp 0x47e701
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e716
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x29
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x3c5], al
cmp dword [esp + 0x40], edi
jb 0x47e765
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e791
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x478], ebx
je 0x47e859
push 9
push str.PLANE_NUM
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov byte [esp + 0x138], 0x2a
push 0xe
push str.TEST_PROCEDURE
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.004016d0
push ebx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x140], 0x2b
mov ecx, dword [esi + 0x478]
push edx
call fcn.004e9790
mov byte [esp + 0x27], al
cmp dword [esp + 0x40], edi
jb 0x47e81f
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e84b
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov al, byte [esp + 0x27]
cmp al, 4
je 0x47e859
mov byte [esi + 0x3c5], al
push edi
push str.MAX_BYTE_PERPAGE
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x2c
cmp dword [edx + 0x14], edi
jb 0x47e88f
mov eax, edx
mov esi, dword [eax]
jmp 0x47e891
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e8a6
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x2d
call fcn.004e9760
mov ecx, dword [esp + 0x18]
movzx eax, ax
mov dword [ecx + 0x3c8], eax
cmp dword [esp + 0x40], edi
jb 0x47e8f8
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e925
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xe
push str.HIGH_SCAN_FLAG
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x2e
cmp dword [ecx + 0x14], edi
jb 0x47e958
mov edx, ecx
mov esi, dword [edx]
jmp 0x47e95a
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47e970
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x2f
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3ce], al
cmp dword [esp + 0x40], edi
jb 0x47e9bf
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47e9ec
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xa
push str.GROUP_TYPE
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x30
cmp dword [edx + 0x14], edi
jb 0x47ea1f
mov eax, edx
mov esi, dword [eax]
jmp 0x47ea21
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47ea36
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x31
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x3cc], al
cmp dword [esp + 0x40], edi
jb 0x47ea85
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47eab2
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xa
push str.ORDER_TYPE
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x32
cmp dword [ecx + 0x14], edi
jb 0x47eae5
mov edx, ecx
mov esi, dword [edx]
jmp 0x47eae7
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47eb00
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x33
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3cd], al
cmp dword [esp + 0x40], edi
jb 0x47eb4f
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47eb7c
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xb
push str.PGM_SUSPEND
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x34
cmp dword [edx + 0x14], edi
jb 0x47ebaf
mov eax, edx
mov esi, dword [eax]
jmp 0x47ebb1
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47ebc6
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x35
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x3cf], al
cmp dword [esp + 0x40], edi
jb 0x47ec15
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47ec42
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xd
push str.ERASE_SUSPEND
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x36
cmp dword [ecx + 0x14], edi
jb 0x47ec75
mov edx, ecx
mov esi, dword [edx]
jmp 0x47ec77
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47ec90
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x37
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3d0], al
cmp dword [esp + 0x40], edi
jb 0x47ecdf
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47ed0c
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 8
push str.PGM_MODE
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x38
cmp dword [edx + 0x14], edi
jb 0x47ed3f
mov eax, edx
mov esi, dword [eax]
jmp 0x47ed41
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47ed56
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x39
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x3d1], al
cmp dword [esp + 0x40], edi
jb 0x47eda5
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47edd2
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 0xe
push str.FLASH_NAME_CNT
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x3a
cmp dword [ecx + 0x14], edi
jb 0x47ee05
mov edx, ecx
mov esi, dword [edx]
jmp 0x47ee07
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47ee20
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x3b
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3d9], al
cmp dword [esp + 0x40], edi
jb 0x47ee6f
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47ee9c
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 9
push str.CELL_TYPE
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x3c
cmp dword [edx + 0x14], edi
jb 0x47eecf
mov eax, edx
mov esi, dword [eax]
jmp 0x47eed1
mov esi, edx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47eee6
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x3d
call fcn.004e9760
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x3da], al
cmp dword [esp + 0x40], edi
jb 0x47ef35
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov byte [esp + 0x138], 0x13
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47ef62
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
push 7
push str.SECTION
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004016d0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x138], 0x3e
cmp dword [ecx + 0x14], edi
jb 0x47ef95
mov edx, ecx
mov esi, dword [edx]
jmp 0x47ef97
mov esi, ecx
mov eax, esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47efb0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.004016d0
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0x3f
call fcn.004e9760
mov edx, dword [esp + 0x18]
mov byte [edx + 0x3db], al
cmp dword [esp + 0x40], edi
jb 0x47efff
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov esi, 0xf
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x5c], edi
jb 0x47f024
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
cmp dword [esp + 0xb0], edi
jb 0x47f03e
mov edx, dword [esp + 0x9c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
cmp dword [esp + 0xe8], edi
jb 0x47f06d
mov eax, dword [esp + 0xd4]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0x138], bl
call fcn.004e9710
cmp dword [esp + 0x120], edi
jb 0x47f0ac
mov ecx, dword [esp + 0x10c]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret 4