Function at 0x437f90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482002
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x4a7ea0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x51c]
push 0x1000
call fcn.00424710
lea eax, [ebp - 0x51c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00422260
push dword [ebp + 0xc]
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 1
push esi
call fcn.00422af0
test eax, eax
jne 0x438018
push 0x2030
push str.Error_s__Occurred_Parsing_Form_Resource
push dword [ebp - 0x518]
jmp 0x4380e1
mov edi, dword [ebp - 0x48f]
mov ecx, str.XebraFormResource
mov eax, dword [edi + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438046
test dl, dl
je 0x438042
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438046
add eax, 2
add ecx, 2
test dl, dl
jne 0x438026
xor eax, eax
jmp 0x43804b
sbb eax, eax
or eax, 1
test eax, eax
je 0x438063
push 0x2030
push str.Error
push str.This_resource_is_not_an_XML_XebraFormResource
jmp 0x4380e1
xor esi, esi
cmp dword [edi + 0xb6], esi
jle 0x4380d2
lea ecx, [ecx]
mov eax, dword [edi + 0xb2]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x48f]
cmp eax, 4
jne 0x4380c9
mov eax, dword [edi + 0xb2]
mov ecx, dword [eax + esi*4]
mov eax, str.Form
mov ecx, dword [ecx + 0x44]
lea ebx, [ebx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4380c0
test dl, dl
je 0x4380bc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4380c0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4380a0
xor eax, eax
jmp 0x4380c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x438128
inc esi
cmp esi, dword [edi + 0xb6]
jl 0x438070
push 0x2030
push str.Error
push str.Could_not_Find_the_Form_tag
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 0
call fcn.004225f0
lea ecx, [ebp - 0x51c]
mov dword [ebp - 4], 0xffffffff
call fcn.004247b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004520a4
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0xb2]
mov esi, dword [eax + esi*4]
mov dword [ebp - 0x504], esi
test esi, esi
je 0x4380d2
push 0x487834
mov ecx, esi
call fcn.004228c0
test eax, eax
je 0x43815c
push dword [eax + 0x8d]
call fcn.00452d86
add esp, 4
mov dword [ebx + 4], eax
push dword [ebx + 4]
call fcn.00408f20
add esp, 4
mov dword [ebp - 0x500], eax
lea eax, [ebp - 0x418]
push eax
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x408]
push eax
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x408]
push eax
push dword [ebx + 0x60]
call fcn.00402490
mov eax, dword [ebp - 0x408]
lea ecx, [ebp - 0x488]
sub eax, dword [ebp - 0x418]
add esp, 8
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x404]
sub eax, dword [ebp - 0x414]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x400]
sub dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x3fc]
sub dword [ebp - 0x40c], eax
push str.Dimensions
call fcn.00425970
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00422940
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00425a30
lea eax, [ebp - 0x408]
push esi
push eax
call fcn.0040a100
mov ecx, dword [ebx]
lea eax, [ebp - 0x408]
add esp, 8
push eax
call fcn.0042ba60
mov edx, dword [ebp - 0x3fc]
mov eax, edx
mov edi, dword [ebp - 0x400]
mov esi, dword [ebp - 0x404]
sub eax, esi
mov ecx, dword [ebp - 0x408]
sub edi, ecx
cmp dword [ebx + 0x136], 0
mov dword [ebp - 0x4fc], eax
mov dword [ebx + 0x11a], eax
mov eax, dword [ebp - 0x400]
mov dword [ebx + 0x116], edi
je 0x4382cc
mov eax, dword [ebx]
push 0
push dword [eax + 0x32]
mov eax, dword [ebp - 0x4fc]
push 0
push dword [ebx + 0x60]
add eax, 0xffffffec
push eax
lea eax, [edi - 0x14]
push eax
mov eax, dword [ebx + 0x9c]
add eax, 2
push eax
push 2
push 0x44000000
push 0
push str.XXLabel
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 1
push eax
mov dword [ebx + 0x13a], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x3fc]
mov eax, dword [ebp - 0x400]
mov esi, dword [ebp - 0x404]
mov ecx, dword [ebp - 0x408]
add eax, dword [ebp - 0x410]
sub ecx, dword [ebp - 0x418]
sub esi, dword [ebp - 0x414]
mov dword [ebp - 0x400], eax
mov eax, dword [ebx + 0xa4]
add eax, dword [ebx + 0x9c]
add eax, dword [ebp - 0x40c]
add edx, eax
mov dword [ebp - 0x408], ecx
push 0
lea eax, [ebp - 0x428]
mov dword [ebp - 0x404], esi
push eax
push 0
push 0x30
mov dword [ebp - 0x3fc], edx
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edi, dword [ebp - 0x400]
mov eax, edi
mov ecx, dword [ebp - 0x420]
mov esi, dword [ebp - 0x408]
sub eax, esi
sub ecx, dword [ebp - 0x428]
mov dword [ebp - 0x4f4], esi
cmp eax, ecx
jle 0x43834c
lea edi, [ecx + esi]
mov dword [ebp - 0x400], edi
mov ecx, dword [ebp - 0x3fc]
mov eax, ecx
mov esi, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x404]
sub eax, edx
sub esi, dword [ebp - 0x424]
cmp eax, esi
jle 0x438375
lea ecx, [esi + edx]
mov dword [ebp - 0x3fc], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4383e7
lea ecx, [ebp - 0x438]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x3fc]
sub esi, dword [ebp - 0x404]
mov eax, dword [ebp - 0x42c]
sub eax, dword [ebp - 0x434]
mov edi, dword [ebp - 0x400]
sub eax, esi
sub edi, dword [ebp - 0x408]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x434]
mov dword [ebp - 0x4fc], eax
mov eax, dword [ebp - 0x430]
sub eax, dword [ebp - 0x438]
sub eax, edi
cdq
sub eax, edx
mov edx, dword [ebp - 0x4fc]
sar eax, 1
add eax, dword [ebp - 0x438]
add edi, eax
lea ecx, [esi + edx]
jmp 0x4383ed
mov eax, dword [ebp - 0x4f4]
mov esi, edi
sub esi, eax
mov dword [ebp - 0x4f8], esi
mov esi, ecx
sub esi, edx
cmp edi, dword [ebp - 0x420]
mov edi, dword [ebp - 0x4f8]
jle 0x438411
mov eax, dword [ebp - 0x420]
sub eax, edi
cmp ecx, dword [ebp - 0x41c]
jle 0x438421
mov edx, dword [ebp - 0x41c]
sub edx, esi
cmp eax, dword [ebp - 0x428]
push 0x10
cmovl eax, dword [ebp - 0x428]
cmp edx, dword [ebp - 0x424]
mov dword [ebp - 0x4f4], eax
cmovl edx, dword [ebp - 0x424]
lea ecx, [edi + eax]
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x400], ecx
mov dword [ebp - 0x404], edx
lea eax, [esi + edx]
mov esi, dword [ebp - 0x4f4]
mov dword [ebp - 0x3fc], eax
sub ecx, esi
sub eax, edx
push eax
push ecx
push edx
push esi
push 0
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SetWindowPos]
push str.Caption
lea ecx, [ebp - 0x488]
call fcn.00425970
mov edi, dword [ebp - 0x504]
lea eax, [ebp - 0x488]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00422940
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00425a30
test esi, esi
je 0x4384f2
cmp dword [esi + 0x96], 0
jbe 0x4384f2
push dword [esi + 0x91]
push 0
push 0xc
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0x91]
lea eax, [ebp - 0x3f8]
push dword [ebx + 4]
push str.Loaded_form_ID:__d_tTitle:__s
push eax
call fcn.00452c8a
add esp, 0x10
jmp 0x438509
push dword [ebx + 4]
lea eax, [ebp - 0x3f8]
push str.Loaded_form_ID:__d
push eax
call fcn.00452c8a
add esp, 0xc
mov ecx, dword [0x4ab07c]
lea eax, [ebp - 0x3f8]
push eax
call fcn.00421990
push str.Controls
lea ecx, [ebp - 0x488]
call fcn.00425970
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00422940
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00425a30
push dword [ebp - 0x500]
mov ecx, ebx
push esi
call fcn.00433c40
push str.TabIndexes
lea ecx, [ebp - 0x488]
call fcn.00425970
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.00422940
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x4f8], eax
mov byte [ebp - 4], 1
call fcn.00425a30
mov ecx, dword [ebp - 0x4f8]
test ecx, ecx
je 0x4380e9
xor eax, eax
mov dword [ebp - 0x4fc], eax
cmp dword [ecx + 0xb6], eax
jle 0x4380e9
jmp 0x4385c0
lea esi, [eax*4]
mov eax, dword [ecx + 0xb2]
mov ecx, dword [esi + eax]
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, 4
jne 0x4387ad
mov eax, dword [ebp - 0x4f8]
mov ecx, 0x487b1c
mov eax, dword [eax + 0xb2]
mov eax, dword [esi + eax]
mov dword [ebp - 0x4f4], eax
mov eax, dword [eax + 0x44]
jmp 0x438600
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438620
test dl, dl
je 0x43861c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438620
add eax, 2
add ecx, 2
test dl, dl
jne 0x438600
xor eax, eax
jmp 0x438625
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4387ad
mov ecx, dword [ebp - 0x4f4]
or esi, 0xffffffff
push str.Type
or edi, esi
call fcn.004228c0
test eax, eax
je 0x438656
push dword [eax + 0x8d]
call fcn.00452d86
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 0x4f4]
push 0x487b28
call fcn.004228c0
test eax, eax
je 0x43867a
push dword [eax + 0x8d]
call fcn.00452d86
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x4f4]
push str.TabIndex
call fcn.004228c0
test eax, eax
je 0x4386a2
push dword [eax + 0x8d]
call fcn.00452d86
add esp, 4
mov dword [ebp - 0x500], eax
cmp esi, 0xffffffff
je 0x4387ad
cmp edi, 0xffffffff
je 0x4387ad
dec edi
cmp edi, 8
ja case.default.0x4386be
jmp dword [edi*4 + 0x4387d4]
mov eax, dword [ebx + 0x18]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x10]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x10]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x20]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x24]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0xc]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x20]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x20]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x38]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x18]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x30]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00431310
mov esi, eax
jmp 0x438797
mov eax, dword [ebx + 0x34]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00431310
mov esi, eax
jmp 0x438797
push 0
push str.Error
push str.Error_Setting_TabIndexes_in_XXForm::ReadFormResourceXML
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebx + 0x10]
lea ecx, [esi*8]
mov edx, dword [ebp - 0x500]
sub ecx, esi
mov dword [eax + ecx*4 + 0x18], edx
mov eax, dword [ebp - 0x4fc]
mov ecx, dword [ebp - 0x4f8]
inc eax
mov dword [ebp - 0x4fc], eax
cmp eax, dword [ecx + 0xb6]
jl 0x4385c0
jmp 0x4380e9