Function at 0x638090
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x78510c
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x138]
push 5
mov ebp, ecx
push eax
mov dword [esp + 0x24], ebp
call fcn.004df260
xor esi, esi
mov dword [ebp], vtable.CGlobalVariablesDialog.0
mov dword [esp + 0x130], esi
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x50], esi
lea ebx, [ebp + 0x74]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x28], esi
mov dword [ebp + 0xcc], esi
mov dword [ebp + 0xd0], esi
mov dword [ebp + 0xd4], esi
mov dword [ebp + 0xd8], esi
mov dword [ebp + 0xc4], esi
mov dword [ebp + 0xc8], esi
mov dword [ebp + 0xe0], esi
mov dword [ebp + 0xe4], esi
mov dword [ebp + 0xe8], esi
mov dword [ebp + 0xec], esi
mov eax, dword [esp + 0x13c]
push esi
mov edi, 1
push 0x104
lea edx, [esp + 0x28]
mov ecx, str.WESTRING_GLOBVARS
mov byte [esp + 0x138], 5
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x58], eax
call fcn.004da2f0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 4]
call fcn.004131e0
push esi
push 0x76
push str..CGlobalVariablesDialog.cpp
push 0x1c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, esi
mov byte [esp + 0x130], 6
je 0x6381e9
mov ecx, eax
call fcn.00555670
jmp 0x6381eb
xor eax, eax
mov edx, dword [esp + 0x140]
push esi
push 0xfffffffffffffffe
push str.._AUWE_MENU__
mov dword [ebp + 0xf0], eax
mov byte [ebp + 0x104], 0
mov dword [ebx], edx
mov dword [ebp + 0x78], edi
mov eax, dword [ebp + 0x84]
push 0x108
push eax
mov byte [esp + 0x144], 5
mov dword [ebp + 0x7c], edi
call sub.Storm.dll_Ordinal_405
cmp eax, esi
mov dword [ebp + 0x84], eax
je 0x638247
mov ecx, 0x42
mov esi, 0x7e8380
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edi, 1
mov dword [ebp + 0x80], edi
mov ecx, dword [ebp + 4]
mov ecx, dword [ecx + 4]
mov edx, ebx
call fcn.005382c0
mov edx, dword [esp + 0x140]
push esi
push 0xfffffffffffffffe
mov edi, 0xa
push str.._AUWE_TOOLBAR_ITEM__
mov dword [ebp + 0x70], eax
lea ebx, [ebp + 0xc4]
mov dword [ebx], edx
mov dword [ebp + 0xc8], edi
mov eax, dword [ebp + 0xd4]
push 0x78
push eax
mov dword [ebp + 0xcc], edi
call sub.Storm.dll_Ordinal_405
cmp eax, esi
mov dword [ebp + 0xd4], eax
je 0x6382b7
mov ecx, dword [str.WESTRING_TOOLBAR_CUT]
mov dword [eax], ecx
mov edx, dword [0x7e848c]
mov dword [eax + 4], edx
mov ecx, dword [str.ToolBarIcon_Cut]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xd4]
add eax, 0xc
je 0x6382dc
mov edx, dword [str.WESTRING_TOOLBAR_COPY]
mov dword [eax], edx
mov ecx, dword [0x7e8498]
mov dword [eax + 4], ecx
mov edx, dword [str.ToolBarIcon_Copy]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0xd4]
add eax, 0x18
je 0x638301
mov ecx, dword [str.WESTRING_TOOLBAR_PASTE]
mov dword [eax], ecx
mov edx, dword [0x7e84a4]
mov dword [eax + 4], edx
mov ecx, dword [str.ToolBarIcon_Paste]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xd4]
add eax, 0x24
je 0x638326
mov edx, dword [0x7e84ac]
mov dword [eax], edx
mov ecx, dword [0x7e84b0]
mov dword [eax + 4], ecx
mov edx, dword [0x7e84b4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0xd4]
add eax, 0x30
je 0x63834b
mov ecx, dword [str.WESTRING_TOOLBAR_UNDO]
mov dword [eax], ecx
mov edx, dword [0x7e84bc]
mov dword [eax + 4], edx
mov ecx, dword [str.ToolBarIcon_Undo]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xd4]
add eax, 0x3c
je 0x638370
mov edx, dword [str.WESTRING_TOOLBAR_REDO]
mov dword [eax], edx
mov ecx, dword [0x7e84c8]
mov dword [eax + 4], ecx
mov edx, dword [str.ToolBarIcon_Redo]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0xd4]
add eax, 0x48
je 0x638395
mov ecx, dword [0x7e84d0]
mov dword [eax], ecx
mov edx, dword [0x7e84d4]
mov dword [eax + 4], edx
mov ecx, dword [0x7e84d8]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xd4]
add eax, 0x54
je 0x6383ba
mov edx, dword [str.WESTRING_MENU_ADDVARIABLE]
mov dword [eax], edx
mov ecx, dword [0x7e84e0]
mov dword [eax + 4], ecx
mov edx, dword [str.ToolBarIcon_SE_AddVariable]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0xd4]
add eax, 0x60
je 0x6383df
mov ecx, dword [str.WESTRING_MENU_EDITVARIABLE]
mov dword [eax], ecx
mov edx, dword [0x7e84ec]
mov dword [eax + 4], edx
mov ecx, dword [str.ToolBarIcon_SE_EditVariable]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xd4]
add eax, 0x6c
je 0x638404
mov edx, dword [str.WESTRING_MENU_DELETEVARIABLE]
mov dword [eax], edx
mov ecx, dword [0x7e84f8]
mov dword [eax + 4], ecx
mov edx, dword [str.ToolBarIcon_SE_DeleteVariable]
mov dword [eax + 8], edx
push esi
push 0x87
push str..CGlobalVariablesDialog.cpp
push 0x3c
mov dword [ebp + 0xd0], edi
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x130], 7
je 0x638440
mov ecx, dword [ebp + 4]
push esi
push 0xc
push ecx
mov ecx, eax
call fcn.00414b20
jmp 0x638442
xor eax, eax
push 0x10
push 0x10
mov ecx, eax
mov byte [esp + 0x138], 5
mov dword [ebp + 0xc0], eax
call fcn.0040c560
mov ecx, dword [ebp + 0xc0]
push esi
push esi
call fcn.0040ad70
mov ecx, dword [ebp + 0xc0]
mov edx, ebx
call fcn.00585c50
push esi
push 0x8d
push str..CGlobalVariablesDialog.cpp
push 0x38
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x130], 8
je 0x6384af
mov edx, dword [ebp + 4]
push 0x10000
push 0xd
push edx
mov ecx, eax
call fcn.004149d0
jmp 0x6384b1
xor eax, eax
mov byte [esp + 0x130], 5
mov dword [ebp + 0x30], eax
xor ebx, ebx
mov edi, edi
mov ecx, dword [ebp + 0x30]
push 0xffffffffffffffff
call fcn.0040f5d0
mov eax, ebx
sub eax, esi
je 0x6384e8
sub eax, 1
je 0x6384e1
sub eax, 1
jne 0x638515
mov ecx, str.WESTRING_INITIALVALUE
jmp 0x6384ed
mov ecx, str.WESTRING_VARIABLETYPE
jmp 0x6384ed
mov ecx, str.WESTRING_VARIABLENAME
push esi
push 0x104
lea edx, [esp + 0x28]
call fcn.004da2f0
mov dl, 0x26
lea ecx, [esp + 0x20]
call fcn.004b9510
mov ecx, dword [ebp + 0x30]
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00414ad0
add ebx, 1
cmp ebx, 3
jl 0x6384c0
mov ecx, ebp
call fcn.00636580
lea edi, [ebp + 0xdc]
push edi
mov edx, 9
mov ecx, 0x7e8500
call fcn.005386b0
mov ecx, dword [edi]
push ecx
mov ecx, dword [ebp + 0x30]
call fcn.00411090
xor edx, edx
lea ecx, [edx + 0x2a]
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], esi
call fcn.004df5b0
cmp eax, 2
mov dword [ebp + 0x54], eax
jl 0x638562
mov eax, 2
xor edx, edx
cmp eax, esi
setle dl
mov ecx, str.VariablesDialog
sub edx, 1
and eax, edx
mov edx, 0x7adf94
mov dword [ebp + 0x54], eax
call fcn.005b0130
mov edx, 0x7adf94
mov ecx, str.VariablesDialog
mov ebx, eax
call fcn.005b0150
mov ecx, dword [ebp + 4]
mov edi, eax
push edi
push ebx
call fcn.0040aae0
xor edx, edx
lea ecx, [edx + 0x64]
call fcn.004df5b0
xor edx, edx
lea ecx, [edx + 0x65]
mov dword [esp + 0x14], eax
call fcn.004df5b0
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x6385bf
mov ebx, ecx
cmp eax, edi
jg 0x6385c5
mov eax, edi
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx]
push ebx
call eax
mov ecx, dword [ebp + 4]
call fcn.004bf860
push 1
mov ecx, ebp
call fcn.004df3f0
mov ecx, ebp
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x68], esi
call fcn.006364a0
mov ecx, ebp
mov dword [ebp + 0x68], 1
call fcn.00637ad0
mov ecx, ebp
call fcn.00637ac0
mov ecx, dword [ebp + 0x30]
call fcn.0040edf0
mov eax, ebp
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00735f58
add esp, 0x120
ret 0xc