Function at 0x437cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483052
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x4a9d30]
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.004244b0
lea eax, [ebp - 0x51c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00422000
push dword [ebp + 0xc]
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 1
push esi
call fcn.00422890
test eax, eax
jne 0x437d78
push 0x2030
push str.Error_s__Occurred_Parsing_Form_Resource
push dword [ebp - 0x518]
jmp 0x437e41
mov edi, dword [ebp - 0x48f]
mov ecx, str.XebraFormResource
mov eax, dword [edi + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437da6
test dl, dl
je 0x437da2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437da6
add eax, 2
add ecx, 2
test dl, dl
jne 0x437d86
xor eax, eax
jmp 0x437dab
sbb eax, eax
or eax, 1
test eax, eax
je 0x437dc3
push 0x2030
push str.Error
push str.This_resource_is_not_an_XML_XebraFormResource
jmp 0x437e41
xor esi, esi
cmp dword [edi + 0xb6], esi
jle 0x437e32
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 0x437e29
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 0x437e20
test dl, dl
je 0x437e1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x437e20
add ecx, 2
add eax, 2
test dl, dl
jne 0x437e00
xor eax, eax
jmp 0x437e25
sbb eax, eax
or eax, 1
test eax, eax
je 0x437e88
inc esi
cmp esi, dword [edi + 0xb6]
jl 0x437dd0
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.00422390
lea ecx, [ebp - 0x51c]
mov dword [ebp - 4], 0xffffffff
call fcn.00424550
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.004530e4
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 0x437e32
push 0x488834
mov ecx, esi
call fcn.00422660
test eax, eax
je 0x437ebc
push dword [eax + 0x8d]
call fcn.00453dc6
add esp, 4
mov dword [ebx + 4], eax
push dword [ebx + 4]
call fcn.00408ed0
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.00425710
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004226e0
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004257d0
lea eax, [ebp - 0x408]
push esi
push eax
call fcn.0040a0b0
mov ecx, dword [ebx]
lea eax, [ebp - 0x408]
add esp, 8
push eax
call fcn.0042b7b0
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 0x43802c
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 0x4380ac
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 0x4380d5
lea ecx, [esi + edx]
mov dword [ebp - 0x3fc], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x438147
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 0x43814d
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 0x438171
mov eax, dword [ebp - 0x420]
sub eax, edi
cmp ecx, dword [ebp - 0x41c]
jle 0x438181
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.00425710
mov edi, dword [ebp - 0x504]
lea eax, [ebp - 0x488]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004226e0
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004257d0
test esi, esi
je 0x438252
cmp dword [esi + 0x96], 0
jbe 0x438252
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.00453cca
add esp, 0x10
jmp 0x438269
push dword [ebx + 4]
lea eax, [ebp - 0x3f8]
push str.Loaded_form_ID:__d
push eax
call fcn.00453cca
add esp, 0xc
mov ecx, dword [0x4acf1c]
lea eax, [ebp - 0x3f8]
push eax
call fcn.00421730
push str.Controls
lea ecx, [ebp - 0x488]
call fcn.00425710
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.004226e0
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004257d0
push dword [ebp - 0x500]
mov ecx, ebx
push esi
call fcn.004339a0
push str.TabIndexes
lea ecx, [ebp - 0x488]
call fcn.00425710
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.004226e0
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x4f8], eax
mov byte [ebp - 4], 1
call fcn.004257d0
mov ecx, dword [ebp - 0x4f8]
test ecx, ecx
je 0x437e49
xor eax, eax
mov dword [ebp - 0x4fc], eax
cmp dword [ecx + 0xb6], eax
jle 0x437e49
jmp 0x438320
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 0x43850d
mov eax, dword [ebp - 0x4f8]
mov ecx, 0x488b1c
mov eax, dword [eax + 0xb2]
mov eax, dword [esi + eax]
mov dword [ebp - 0x4f4], eax
mov eax, dword [eax + 0x44]
jmp 0x438360
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x438380
test dl, dl
je 0x43837c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x438380
add eax, 2
add ecx, 2
test dl, dl
jne 0x438360
xor eax, eax
jmp 0x438385
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43850d
mov ecx, dword [ebp - 0x4f4]
or esi, 0xffffffff
push str.Type
or edi, esi
call fcn.00422660
test eax, eax
je 0x4383b6
push dword [eax + 0x8d]
call fcn.00453dc6
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 0x4f4]
push 0x488b28
call fcn.00422660
test eax, eax
je 0x4383da
push dword [eax + 0x8d]
call fcn.00453dc6
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x4f4]
push str.TabIndex
call fcn.00422660
test eax, eax
je 0x438402
push dword [eax + 0x8d]
call fcn.00453dc6
add esp, 4
mov dword [ebp - 0x500], eax
cmp esi, 0xffffffff
je 0x43850d
cmp edi, 0xffffffff
je 0x43850d
dec edi
cmp edi, 8
ja case.default.0x43841e
jmp dword [edi*4 + 0x438534]
mov eax, dword [ebx + 0x18]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x10]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x10]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x20]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x24]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0xc]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x20]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x20]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x38]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x18]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x30]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
mov eax, dword [ebx + 0x34]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00431040
mov esi, eax
jmp 0x4384f7
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 0x438320
jmp 0x437e49