Function at 0x436cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482c32
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.00423690
lea eax, [ebp - 0x51c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4f0]
call fcn.004211e0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 1
push esi
call fcn.00421a70
test eax, eax
jne 0x436d78
push 0x2030
push str.Error_s__Occurred_Parsing_Form_Resource
push dword [ebp - 0x518]
jmp 0x436e41
mov edi, dword [ebp - 0x48f]
mov ecx, str.XebraFormResource
mov eax, dword [edi + 0x44]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x436da6
test dl, dl
je 0x436da2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x436da6
add eax, 2
add ecx, 2
test dl, dl
jne 0x436d86
xor eax, eax
jmp 0x436dab
sbb eax, eax
or eax, 1
test eax, eax
je 0x436dc3
push 0x2030
push str.Error
push str.This_resource_is_not_an_XML_XebraFormResource
jmp 0x436e41
xor esi, esi
cmp dword [edi + 0xb6], esi
jle 0x436e32
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 0x436e29
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 0x436e20
test dl, dl
je 0x436e1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x436e20
add ecx, 2
add eax, 2
test dl, dl
jne 0x436e00
xor eax, eax
jmp 0x436e25
sbb eax, eax
or eax, 1
test eax, eax
je 0x436e88
inc esi
cmp esi, dword [edi + 0xb6]
jl 0x436dd0
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.00421570
lea ecx, [ebp - 0x51c]
mov dword [ebp - 4], 0xffffffff
call fcn.00423730
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.00452f44
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 0x436e32
push 0x488784
mov ecx, esi
call fcn.00421840
test eax, eax
je 0x436ebc
push dword [eax + 0x8d]
call fcn.00453c26
add esp, 4
mov dword [ebx + 4], eax
push dword [ebx + 4]
call fcn.004083e0
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.004024b0
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.004248f0
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004218c0
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004249b0
lea eax, [ebp - 0x408]
push esi
push eax
call fcn.004095b0
mov ecx, dword [ebx]
lea eax, [ebp - 0x408]
add esp, 8
push eax
call fcn.0042a840
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 0x43702c
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 0x4370ac
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 0x4370d5
lea ecx, [esi + edx]
mov dword [ebp - 0x3fc], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x437147
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 0x43714d
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 0x437171
mov eax, dword [ebp - 0x420]
sub eax, edi
cmp ecx, dword [ebp - 0x41c]
jle 0x437181
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.004248f0
mov edi, dword [ebp - 0x504]
lea eax, [ebp - 0x488]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004218c0
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004249b0
test esi, esi
je 0x437252
cmp dword [esi + 0x96], 0
jbe 0x437252
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.00453b2a
add esp, 0x10
jmp 0x437269
push dword [ebx + 4]
lea eax, [ebp - 0x3f8]
push str.Loaded_form_ID:__d
push eax
call fcn.00453b2a
add esp, 0xc
mov ecx, dword [0x4ace8c]
lea eax, [ebp - 0x3f8]
push eax
call fcn.00420910
push str.Controls
lea ecx, [ebp - 0x488]
call fcn.004248f0
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.004218c0
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.004249b0
push dword [ebp - 0x500]
mov ecx, ebx
push esi
call fcn.004329a0
push str.TabIndexes
lea ecx, [ebp - 0x488]
call fcn.004248f0
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.004218c0
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x4f8], eax
mov byte [ebp - 4], 1
call fcn.004249b0
mov ecx, dword [ebp - 0x4f8]
test ecx, ecx
je 0x436e49
xor eax, eax
mov dword [ebp - 0x4fc], eax
cmp dword [ecx + 0xb6], eax
jle 0x436e49
jmp 0x437320
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 0x43750d
mov eax, dword [ebp - 0x4f8]
mov ecx, 0x488a6c
mov eax, dword [eax + 0xb2]
mov eax, dword [esi + eax]
mov dword [ebp - 0x4f4], eax
mov eax, dword [eax + 0x44]
jmp 0x437360
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437380
test dl, dl
je 0x43737c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437380
add eax, 2
add ecx, 2
test dl, dl
jne 0x437360
xor eax, eax
jmp 0x437385
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43750d
mov ecx, dword [ebp - 0x4f4]
or esi, 0xffffffff
push str.Type
or edi, esi
call fcn.00421840
test eax, eax
je 0x4373b6
push dword [eax + 0x8d]
call fcn.00453c26
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 0x4f4]
push 0x488a78
call fcn.00421840
test eax, eax
je 0x4373da
push dword [eax + 0x8d]
call fcn.00453c26
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x4f4]
push str.TabIndex
call fcn.00421840
test eax, eax
je 0x437402
push dword [eax + 0x8d]
call fcn.00453c26
add esp, 4
mov dword [ebp - 0x500], eax
cmp esi, 0xffffffff
je 0x43750d
cmp edi, 0xffffffff
je 0x43750d
dec edi
cmp edi, 8
ja case.default.0x43741e
jmp dword [edi*4 + 0x437534]
mov eax, dword [ebx + 0x18]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x10]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x10]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x20]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x24]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0xc]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x20]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x20]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x38]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 0x18]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x30]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
mov eax, dword [ebx + 0x34]
mov ecx, ebx
mov eax, dword [eax + esi*4]
push dword [eax + 8]
call fcn.00430040
mov esi, eax
jmp 0x4374f7
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 0x437320
jmp 0x436e49