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

Disassembly:
sub esp, 0x7f4
push esi
push edi
mov edi, dword [esp + 0x800]
mov byte [esp + 0xb], 0
push edi
mov dword [esp + 0x2c], 0
call fcn.004486c0
mov esi, eax
mov eax, dword [edi + 4]
add esp, 4
mov dword [esp + 0x3c], esi
test byte [eax + 0x14], 4
je 0x43166c
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 4]
jmp 0x431690
push edi
call fcn.00455800
add esp, 4
test al, al
je 0x431681
mov edx, dword [edi + 0x3c]
mov eax, dword [edx + 4]
jmp 0x431690
push edi
call fcn.00432ff0
mov eax, dword [eax + 0x58]
add esp, 4
mov eax, dword [eax + 4]
push eax
call fcn.00455820
add esp, 4
mov dword [esp + 0x2c], eax
test esi, esi
je 0x4316b1
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4316b1
push esi
call eax
add esp, 4
mov eax, dword [esp + 0x804]
push ebx
mov ebx, dword [edi + 4]
push ebp
test eax, eax
mov dword [esp + 0x40], ebx
jne 0x4316f3
mov eax, dword [esp + 0x810]
test eax, eax
je 0x4316f3
mov ecx, dword [0x46a268]
push 0
push 0
push str.Argument_count___0_on_NULL_argument_list_in_XtSetValues
push ecx
push str.xtSetValues
push 0x46a1a0
push esi
call fcn.00449120
add esp, 0x1c
mov eax, dword [0x472d3c]
test eax, eax
je 0x4316fe
call eax
mov eax, dword [0x472d40]
mov esi, dword [ebx + 8]
test eax, eax
je 0x43170c
call eax
cmp esi, 0x320
ja 0x431721
lea edx, [esp + 0x1c4]
mov dword [esp + 0x14], edx
jmp 0x43172e
push esi
call fcn.00449530
add esp, 4
mov dword [esp + 0x14], eax
cmp esi, 0x320
ja 0x43173f
lea ebp, [esp + 0x4e4]
jmp 0x43174a
push esi
call fcn.00449530
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
mov dword [esp + 0x44], ebp
call fcn.0045c436
mov eax, dword [0x472d3c]
add esp, 0xc
test eax, eax
je 0x431768
call eax
mov ecx, dword [esp + 0x810]
mov edx, dword [esp + 0x80c]
mov eax, dword [ebx + 0x30]
push ecx
mov ecx, dword [ebx + 0x2c]
push edx
push eax
push ecx
push edi
call fcn.004315c0
mov eax, dword [0x472d40]
add esp, 0x14
test eax, eax
je 0x431794
call eax
push esi
push edi
push ebp
call fcn.0045c436
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
je 0x4317eb
mov edx, dword [edi + 4]
test byte [edx + 0x14], 0x20
jne 0x4317eb
mov eax, dword [eax + 4]
test byte [eax + 0x14], 0x10
je 0x4317eb
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x18]
test eax, eax
mov bl, 1
je 0x4317ed
mov eax, dword [0x472d3c]
test eax, eax
je 0x4317d0
call eax
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x90]
mov eax, dword [0x472d40]
test eax, eax
mov dword [esp + 0x3c], esi
je 0x4317fa
call eax
jmp 0x4317fa
xor bl, bl
mov dword [esp + 0x3c], 0
jmp 0x4318aa
test esi, esi
je 0x4318aa
cmp esi, 0xa0
ja 0x431813
lea eax, [esp + 0x84]
jmp 0x43181c
push esi
call fcn.00449530
add esp, 4
mov ecx, dword [esp + 0x14]
cmp esi, 0xa0
mov dword [ecx + 0x18], eax
ja 0x431834
lea eax, [esp + 0x124]
jmp 0x43183d
push esi
call fcn.00449530
add esp, 4
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x18]
push esi
mov ecx, dword [eax + 0x18]
push edx
push ecx
call fcn.0045c436
mov eax, dword [0x472d3c]
add esp, 0xc
test eax, eax
je 0x431860
call eax
mov edx, dword [esp + 0x810]
mov eax, dword [esp + 0x80c]
push edx
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov eax, dword [edi + 0x18]
push ecx
push edx
push eax
call fcn.004315c0
mov eax, dword [0x472d40]
add esp, 0x14
test eax, eax
je 0x431899
call eax
mov ecx, dword [edi + 0x18]
mov edx, dword [ebp + 0x18]
push esi
push ecx
push edx
call fcn.0045c436
add esp, 0xc
mov eax, dword [esp + 0x810]
mov esi, dword [esp + 0x80c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
push eax
push esi
push edi
push ebp
push ecx
push edx
call fcn.00431ec0
add esp, 0x18
mov byte [esp + 0x12], al
test bl, bl
je 0x4318fd
mov eax, dword [esp + 0x810]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push eax
push esi
push edi
push ebp
push ecx
push edx
call fcn.00431f90
mov cl, byte [esp + 0x2a]
add esp, 0x18
or cl, al
mov byte [esp + 0x12], cl
mov ebx, dword [esp + 0x34]
push str.changeHook
push ebx
call fcn.0043e390
add esp, 8
cmp eax, 2
jne 0x431957
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x48]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x810]
push edx
lea ecx, [esp + 0x60]
push eax
push ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], str.XtsetValues
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
call fcn.0043e410
add esp, 0xc
jmp 0x43195e
mov esi, dword [esp + 0x810]
mov ecx, dword [edi + 4]
test byte [ecx + 0x14], 2
je 0x431e26
mov edx, dword [esp + 0x808]
mov ecx, dword [esp + 0x14]
xor ebp, ebp
mov ax, word [edx + 0x1c]
mov dword [esp + 0x18], ebp
cmp word [ecx + 0x1c], ax
je 0x43199c
mov word [esp + 0x1c], ax
mov ax, word [ecx + 0x1c]
mov ebp, 1
mov word [edx + 0x1c], ax
mov dword [esp + 0x18], ebp
mov ax, word [edx + 0x1e]
cmp word [ecx + 0x1e], ax
je 0x4319ba
mov word [esp + 0x1e], ax
mov ax, word [ecx + 0x1e]
or ebp, 2
mov word [edx + 0x1e], ax
mov dword [esp + 0x18], ebp
mov ax, word [edx + 0x20]
cmp word [ecx + 0x20], ax
je 0x4319d8
mov word [esp + 0x20], ax
mov ax, word [ecx + 0x20]
or ebp, 4
mov word [edx + 0x20], ax
mov dword [esp + 0x18], ebp
mov ax, word [edx + 0x22]
cmp word [ecx + 0x22], ax
je 0x4319f6
mov word [esp + 0x22], ax
mov ax, word [ecx + 0x22]
or ebp, 8
mov word [edx + 0x22], ax
mov dword [esp + 0x18], ebp
mov ax, word [edx + 0x24]
cmp word [ecx + 0x24], ax
je 0x431a14
mov word [esp + 0x24], ax
mov cx, word [ecx + 0x24]
or ebp, 0x10
mov word [edx + 0x24], cx
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x431d6b
cmp ebp, 0x1f
je 0x431be9
test esi, esi
je 0x431be9
mov edi, dword [esp + 0x808]
mov edx, esi
test byte [esp + 0x18], 1
jne 0x431a89
mov eax, dword [esp + 0x80c]
mov esi, dword [eax]
mov eax, 0x45e9bd
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x431a6f
test cl, cl
je 0x431a6b
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x431a6f
add eax, 2
add esi, 2
test cl, cl
jne 0x431a4b
xor eax, eax
jmp 0x431a74
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x431a89
mov cx, word [edi + 0x1c]
or ebp, 1
mov word [esp + 0x1c], cx
jmp 0x431bcd
test byte [esp + 0x18], 2
jne 0x431adc
mov eax, dword [esp + 0x80c]
mov esi, dword [eax]
mov eax, 0x45e9bf
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x431ac2
test cl, cl
je 0x431abe
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x431ac2
add eax, 2
add esi, 2
test cl, cl
jne 0x431a9e
xor eax, eax
jmp 0x431ac7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x431adc
mov cx, word [edi + 0x1e]
or ebp, 2
mov word [esp + 0x1e], cx
jmp 0x431bcd
test byte [esp + 0x18], 4
jne 0x431b2f
mov eax, dword [esp + 0x80c]
mov esi, dword [eax]
mov eax, 0x45e9b0
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x431b15
test cl, cl
je 0x431b11
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x431b15
add eax, 2
add esi, 2
test cl, cl
jne 0x431af1
xor eax, eax
jmp 0x431b1a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x431b2f
mov cx, word [edi + 0x20]
or ebp, 4
mov word [esp + 0x20], cx
jmp 0x431bcd
test byte [esp + 0x18], 8
jne 0x431b7f
mov eax, dword [esp + 0x80c]
mov esi, dword [eax]
mov eax, 0x45e732
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x431b68
test cl, cl
je 0x431b64
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x431b68
add eax, 2
add esi, 2
test cl, cl
jne 0x431b44
xor eax, eax
jmp 0x431b6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x431b7f
mov cx, word [edi + 0x22]
or ebp, 8
mov word [esp + 0x22], cx
jmp 0x431bcd
test byte [esp + 0x18], 0x10
jne 0x431bd1
mov eax, dword [esp + 0x80c]
mov esi, dword [eax]
mov eax, str.borderWidth
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x431bb8
test cl, cl
je 0x431bb4
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x431bb8
add eax, 2
add esi, 2
test cl, cl
jne 0x431b94
xor eax, eax
jmp 0x431bbd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x431bd1
mov cx, word [edi + 0x24]
or ebp, 0x10
mov word [esp + 0x24], cx
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x80c]
add ecx, 8
dec edx
mov dword [esp + 0x80c], ecx
jne 0x431a36
mov ebp, str.XtpreGeometry
mov ebx, str.XtpostGeometry
mov edx, dword [esp + 0x34]
push str.geometryHook
push edx
call fcn.0043e390
add esp, 8
cmp eax, 2
jne 0x431c75
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x808]
lea ecx, [esp + 0x48]
lea eax, [esp + 0x18]
mov edx, dword [esi + 0x28]
push ecx
push edx
push esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
call fcn.0043e410
lea eax, [esp + 0x1f]
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push edi
call fcn.0044ced0
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x64]
mov edi, eax
push ecx
lea eax, [esp + 0x8c]
push edx
push esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], eax
call fcn.0043e410
add esp, 0x28
jmp 0x431c96
lea eax, [esp + 0x13]
lea ecx, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x80c]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.0044ced0
add esp, 0x10
mov edi, eax
test edi, edi
je 0x431d20
cmp edi, 3
je 0x431d20
mov eax, dword [0x472d3c]
test eax, eax
je 0x431cae
call eax
mov ecx, dword [esp + 0x40]
mov eax, dword [0x472d40]
test eax, eax
mov esi, dword [ecx + 0x50]
je 0x431cc0
call eax
test esi, esi
je 0x431cfa
cmp edi, 1
jne 0x431cd1
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x808]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call esi
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
je 0x431d20
jmp 0x431bf3
mov eax, dword [0x46a268]
mov ecx, dword [esp + 0x44]
push 0
push 0
push str.set_values_almost_procedure_shouldnt_be_NULL
push eax
push str.set_values_almost
push 0x46a1f4
push ecx
call fcn.004491a0
add esp, 0x1c
mov eax, dword [0x472d3c]
test eax, eax
je 0x431d2b
call eax
mov edx, dword [esp + 0x40]
mov eax, dword [0x472d40]
test eax, eax
mov esi, dword [edx + 0x40]
je 0x431d3d
call eax
mov eax, dword [esp + 0x808]
mov ecx, dword [esp + 0x14]
mov dx, word [eax + 0x20]
cmp dx, word [ecx + 0x20]
jne 0x431d5c
mov dx, word [eax + 0x22]
cmp dx, word [ecx + 0x22]
je 0x431d6b
cmp edi, 3
je 0x431d6b
test esi, esi
je 0x431d6b
push eax
call esi
add esp, 4
mov edi, dword [esp + 0x808]
mov eax, dword [edi + 4]
mov cl, byte [eax + 0x14]
mov al, byte [esp + 0x12]
test cl, 4
je 0x431db2
test al, al
je 0x431e26
mov eax, dword [edi + 0x60]
test eax, eax
je 0x431e26
mov al, byte [edi + 0x10]
test al, al
jne 0x431e26
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x58]
push 1
push 0
push 0
push 0
push 0
push ecx
jmp 0x431e1a
test al, al
je 0x431e26
mov al, byte [esp + 0x13]
test al, al
jne 0x431e26
push edi
call fcn.00432ff0
mov esi, eax
add esp, 4
mov ecx, dword [esi + 4]
test byte [ecx + 0x14], 4
je 0x431dd6
mov eax, esi
jmp 0x431ddf
push esi
call fcn.00432ff0
add esp, 4
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x431e26
mov al, byte [esi + 0x10]
test al, al
jne 0x431e26
xor eax, eax
xor edx, edx
mov ax, word [edi + 0x24]
mov dx, word [edi + 0x22]
shl eax, 1
xor ecx, ecx
add edx, eax
mov cx, word [edi + 0x20]
push 1
push edx
add ecx, eax
movsx edx, word [edi + 0x1e]
movsx eax, word [edi + 0x1c]
push ecx
mov ecx, dword [esi + 0x60]
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
mov eax, dword [edx + 4]
push eax
call sub.NuT4X11.dll_XClearArea
add esp, 0x1c
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
pop ebp
pop ebx
test eax, eax
je 0x431e65
mov eax, dword [edi + 0x18]
lea ecx, [esp + 0x7c]
cmp eax, ecx
je 0x431e48
push eax
call fcn.004495d0
add esp, 4
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x11c]
mov eax, dword [esi + 0x18]
cmp eax, edx
je 0x431e69
push eax
call fcn.004495d0
add esp, 4
jmp 0x431e69
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x1bc]
cmp edi, eax
je 0x431e7d
push edi
call fcn.004495d0
add esp, 4
lea ecx, [esp + 0x4dc]
cmp esi, ecx
je 0x431e91
push esi
call fcn.004495d0
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
test ecx, ecx
pop esi
je 0x431eab
mov eax, dword [ecx + 0x108]
test eax, eax
je 0x431eab
push ecx
call eax
add esp, 4
add esp, 0x7f4
ret