Function at 0x45f4fa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov dword [ebp - 8], 0x100
mov dword [ebp - 0x3c], 0
call fcn.0041b180
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
sar ecx, 2
and ecx, 1
test ecx, ecx
je 0x4609b9
mov dword [ebp - 0x18], 0x3c
mov edx, dword [ebp + 8]
add edx, 0x20c
push edx
call fcn.00424320
add esp, 4
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x20c
push ecx
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.004314f0
add esp, 0x14
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f580
push str.DIMSTYLE_TABLE:_get_dimstyle
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45f59f
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00431b10
add esp, 0xc
mov eax, dword [ebp + 8]
mov cl, byte [eax]
and cl, 0xfb
mov edx, dword [ebp + 8]
mov byte [edx], cl
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
sar eax, 3
and eax, 1
test eax, eax
je 0x45f5f8
mov ecx, dword [ebp + 8]
add ecx, 0x30c
push ecx
push 0x3d
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f5eb
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimpost
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45f5f8
mov eax, dword [ebp + 8]
mov cl, byte [eax]
and cl, 0xf7
mov edx, dword [ebp + 8]
mov byte [edx], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
sar ecx, 4
and ecx, 1
test ecx, ecx
je 0x45f645
mov edx, dword [ebp + 8]
add edx, 0x40c
push edx
push 0x3e
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f638
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimapost
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45f645
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
and dl, 0xef
mov eax, dword [ebp + 8]
mov byte [eax], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
sar edx, 5
and edx, 1
test edx, edx
je 0x45f690
mov eax, dword [ebp + 8]
add eax, 0x50c
push eax
push 0x3f
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f684
push 0x5ea348
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45f690
mov edx, dword [ebp + 8]
mov al, byte [edx]
and al, 0xdf
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x2a]
sar eax, 6
and eax, 1
test eax, eax
je 0x45f748
cmp dword [ebp - 0x38], 0
je 0x45f748
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0xe14
push eax
call fcn.00457132
add esp, 0xc
test eax, eax
je 0x45f70c
mov dword [ebp - 0x28], 0x3f
push 0xc
mov ecx, dword [ebp + 8]
add ecx, 0xe14
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.005bff10
add esp, 0xc
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x25c
push ecx
push 4
call fcn.0042c5e2
add esp, 0xc
jmp 0x45f748
lea edx, [ebp - 0x13c]
push edx
push 0x3f
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f739
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimblk
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45f748
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x2a]
and dl, 0xbf
mov eax, dword [ebp + 8]
mov byte [eax + 0x2a], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
sar edx, 6
and edx, 1
test edx, edx
je 0x45f793
mov eax, dword [ebp + 8]
add eax, 0x60c
push eax
push 0x40
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f787
push 0x5ea3a0
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45f793
mov edx, dword [ebp + 8]
mov al, byte [edx]
and al, 0xbf
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x2a]
sar eax, 7
and eax, 1
test eax, eax
je 0x45f84b
cmp dword [ebp - 0x38], 0
je 0x45f84b
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0xe94
push eax
call fcn.00457132
add esp, 0xc
test eax, eax
je 0x45f80f
mov dword [ebp - 0x28], 0x40
push 0xc
mov ecx, dword [ebp + 8]
add ecx, 0xe94
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.005bff10
add esp, 0xc
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x25c
push ecx
push 4
call fcn.0042c5e2
add esp, 0xc
jmp 0x45f84b
lea edx, [ebp - 0x13c]
push edx
push 0x40
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f83c
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimblk1
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45f84b
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x2a]
and dl, 0x7f
mov eax, dword [ebp + 8]
mov byte [eax + 0x2a], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
sar edx, 7
and edx, 1
test edx, edx
je 0x45f896
mov eax, dword [ebp + 8]
add eax, 0x70c
push eax
push 0x41
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f88a
push 0x5ea3f8
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45f896
mov edx, dword [ebp + 8]
mov al, byte [edx]
and al, 0x7f
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x2b]
and eax, 1
test eax, eax
je 0x45f94b
cmp dword [ebp - 0x38], 0
je 0x45f94b
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf14
push eax
call fcn.00457132
add esp, 0xc
test eax, eax
je 0x45f90f
mov dword [ebp - 0x28], 0x41
push 0xc
mov ecx, dword [ebp + 8]
add ecx, 0xf14
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.005bff10
add esp, 0xc
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x25c
push ecx
push 4
call fcn.0042c5e2
add esp, 0xc
jmp 0x45f94b
lea edx, [ebp - 0x13c]
push edx
push 0x41
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f93c
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimblk2
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45f94b
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x2b]
and dl, 0xfe
mov eax, dword [ebp + 8]
mov byte [eax + 0x2b], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 5]
and edx, 1
test edx, edx
je 0x45f996
mov eax, dword [ebp + 8]
add eax, 0x9c0
push eax
push 0x42
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f988
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimscale
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45f996
mov edx, dword [ebp + 8]
mov al, byte [edx + 5]
and al, 0xfe
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 5]
sar eax, 1
and eax, 1
test eax, eax
je 0x45f9e5
mov ecx, dword [ebp + 8]
add ecx, 0x9c8
push ecx
push 0x43
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45f9d6
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimasz
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45f9e5
mov eax, dword [ebp + 8]
mov cl, byte [eax + 5]
and cl, 0xfd
mov edx, dword [ebp + 8]
mov byte [edx + 5], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 5]
sar ecx, 2
and ecx, 1
test ecx, ecx
je 0x45fa35
mov edx, dword [ebp + 8]
add edx, 0x9d0
push edx
push 0x44
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fa26
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimexo
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45fa35
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 5]
and dl, 0xfb
mov eax, dword [ebp + 8]
mov byte [eax + 5], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 5]
sar edx, 3
and edx, 1
test edx, edx
je 0x45fa83
mov eax, dword [ebp + 8]
add eax, 0x9d8
push eax
push 0x45
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fa75
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimdli
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45fa83
mov edx, dword [ebp + 8]
mov al, byte [edx + 5]
and al, 0xf7
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 5]
sar eax, 4
and eax, 1
test eax, eax
je 0x45fad3
mov ecx, dword [ebp + 8]
add ecx, 0x9e0
push ecx
push 0x46
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fac4
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimexe
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45fad3
mov eax, dword [ebp + 8]
mov cl, byte [eax + 5]
and cl, 0xef
mov edx, dword [ebp + 8]
mov byte [edx + 5], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 5]
sar ecx, 5
and ecx, 1
test ecx, ecx
je 0x45fb23
mov edx, dword [ebp + 8]
add edx, 0x9e8
push edx
push 0x47
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fb14
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimrnd
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45fb23
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 5]
and dl, 0xdf
mov eax, dword [ebp + 8]
mov byte [eax + 5], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 5]
sar edx, 6
and edx, 1
test edx, edx
je 0x45fb71
mov eax, dword [ebp + 8]
add eax, 0x9f0
push eax
push 0x48
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fb63
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimdle
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45fb71
mov edx, dword [ebp + 8]
mov al, byte [edx + 5]
and al, 0xbf
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 5]
sar eax, 7
and eax, 1
test eax, eax
je 0x45fbc1
mov ecx, dword [ebp + 8]
add ecx, 0x9f8
push ecx
push 0x49
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fbb2
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtp
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45fbc1
mov eax, dword [ebp + 8]
mov cl, byte [eax + 5]
and cl, 0x7f
mov edx, dword [ebp + 8]
mov byte [edx + 5], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 6]
and ecx, 1
test ecx, ecx
je 0x45fc0e
mov edx, dword [ebp + 8]
add edx, 0xa00
push edx
push 0x4a
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fbff
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtm
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45fc0e
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 6]
and dl, 0xfe
mov eax, dword [ebp + 8]
mov byte [eax + 6], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x11]
sar edx, 4
and edx, 1
test edx, edx
je 0x45fc5c
mov eax, dword [ebp + 8]
add eax, 0xb58
push eax
push 0x4b
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fc4e
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtxt
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45fc5c
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x11]
and al, 0xef
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x11]
sar eax, 5
and eax, 1
test eax, eax
je 0x45fcac
mov ecx, dword [ebp + 8]
add ecx, 0xb60
push ecx
push 0x4c
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fc9d
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimcen
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45fcac
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x11]
and cl, 0xdf
mov edx, dword [ebp + 8]
mov byte [edx + 0x11], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x11]
sar ecx, 6
and ecx, 1
test ecx, ecx
je 0x45fcfc
mov edx, dword [ebp + 8]
add edx, 0xb68
push edx
push 0x4d
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fced
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtsz
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45fcfc
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x11]
and dl, 0xbf
mov eax, dword [ebp + 8]
mov byte [eax + 0x11], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x11]
sar edx, 7
and edx, 1
test edx, edx
je 0x45fd4a
mov eax, dword [ebp + 8]
add eax, 0xb70
push eax
push 0x4e
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fd3c
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimaltf
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45fd4a
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x11]
and al, 0x7f
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x12]
and eax, 1
test eax, eax
je 0x45fd97
mov ecx, dword [ebp + 8]
add ecx, 0xb78
push ecx
push 0x4f
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fd88
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimlfac
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45fd97
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x12]
and cl, 0xfe
mov edx, dword [ebp + 8]
mov byte [edx + 0x12], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x12]
sar ecx, 1
and ecx, 1
test ecx, ecx
je 0x45fde6
mov edx, dword [ebp + 8]
add edx, 0xb80
push edx
push 0x50
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fdd7
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtvp
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45fde6
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x12]
and dl, 0xfd
mov eax, dword [ebp + 8]
mov byte [eax + 0x12], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x12]
sar edx, 2
and edx, 1
test edx, edx
je 0x45fe34
mov eax, dword [ebp + 8]
add eax, 0xb88
push eax
push 0x51
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fe26
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtfac
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45fe34
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x12]
and al, 0xfb
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x12], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x12]
sar eax, 3
and eax, 1
test eax, eax
je 0x45fe84
mov ecx, dword [ebp + 8]
add ecx, 0xb90
push ecx
push 0x52
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fe75
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimgap
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45fe84
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x12]
and cl, 0xf7
mov edx, dword [ebp + 8]
mov byte [edx + 0x12], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 8]
sar ecx, 7
and ecx, 1
test ecx, ecx
je 0x45fed4
mov edx, dword [ebp + 8]
add edx, 0xb34
push edx
push 0x53
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fec5
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtol
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45fed4
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 8]
and dl, 0x7f
mov eax, dword [ebp + 8]
mov byte [eax + 8], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 9]
and edx, 1
test edx, edx
je 0x45ff1f
mov eax, dword [ebp + 8]
add eax, 0xb38
push eax
push 0x54
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45ff11
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimlim
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x45ff1f
mov edx, dword [ebp + 8]
mov al, byte [edx + 9]
and al, 0xfe
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 9]
sar eax, 1
and eax, 1
test eax, eax
je 0x45ff6e
mov ecx, dword [ebp + 8]
add ecx, 0xb3c
push ecx
push 0x55
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45ff5f
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtih
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x45ff6e
mov eax, dword [ebp + 8]
mov cl, byte [eax + 9]
and cl, 0xfd
mov edx, dword [ebp + 8]
mov byte [edx + 9], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 9]
sar ecx, 2
and ecx, 1
test ecx, ecx
je 0x45ffbe
mov edx, dword [ebp + 8]
add edx, 0xb40
push edx
push 0x56
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45ffaf
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtoh
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x45ffbe
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 9]
and dl, 0xfb
mov eax, dword [ebp + 8]
mov byte [eax + 9], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 9]
sar edx, 3
and edx, 1
test edx, edx
je 0x46000c
mov eax, dword [ebp + 8]
add eax, 0xb44
push eax
push 0x57
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x45fffe
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimse1
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x46000c
mov edx, dword [ebp + 8]
mov al, byte [edx + 9]
and al, 0xf7
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 9]
sar eax, 4
and eax, 1
test eax, eax
je 0x46005c
mov ecx, dword [ebp + 8]
add ecx, 0xb48
push ecx
push 0x58
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46004d
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimse2
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x46005c
mov eax, dword [ebp + 8]
mov cl, byte [eax + 9]
and cl, 0xef
mov edx, dword [ebp + 8]
mov byte [edx + 9], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 9]
sar ecx, 5
and ecx, 1
test ecx, ecx
je 0x4600ac
mov edx, dword [ebp + 8]
add edx, 0xb4c
push edx
push 0x59
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46009d
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtad
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x4600ac
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 9]
and dl, 0xdf
mov eax, dword [ebp + 8]
mov byte [eax + 9], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 9]
sar edx, 6
and edx, 1
test edx, edx
je 0x4600fa
mov eax, dword [ebp + 8]
add eax, 0xb50
push eax
push 0x5a
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4600ec
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimzin
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x4600fa
mov edx, dword [ebp + 8]
mov al, byte [edx + 9]
and al, 0xbf
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x15]
sar eax, 2
and eax, 1
test eax, eax
je 0x46014a
mov ecx, dword [ebp + 8]
add ecx, 0xb98
push ecx
push 0x5b
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46013b
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimalt
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x46014a
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x15]
and cl, 0xfb
mov edx, dword [ebp + 8]
mov byte [edx + 0x15], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x15]
sar ecx, 3
and ecx, 1
test ecx, ecx
je 0x46019a
mov edx, dword [ebp + 8]
add edx, 0xb9c
push edx
push 0x5c
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46018b
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimaltd
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x46019a
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x15]
and dl, 0xf7
mov eax, dword [ebp + 8]
mov byte [eax + 0x15], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x15]
sar edx, 4
and edx, 1
test edx, edx
je 0x4601e8
mov eax, dword [ebp + 8]
add eax, 0xba0
push eax
push 0x5d
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4601da
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtofl
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x4601e8
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x15]
and al, 0xef
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x15], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x15]
sar eax, 5
and eax, 1
test eax, eax
je 0x460238
mov ecx, dword [ebp + 8]
add ecx, 0xba4
push ecx
push 0x5e
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460229
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimsah
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x460238
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x15]
and cl, 0xdf
mov edx, dword [ebp + 8]
mov byte [edx + 0x15], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x15]
sar ecx, 6
and ecx, 1
test ecx, ecx
je 0x460288
mov edx, dword [ebp + 8]
add edx, 0xba8
push edx
push 0x5f
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460279
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtix
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x460288
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x15]
and dl, 0xbf
mov eax, dword [ebp + 8]
mov byte [eax + 0x15], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x15]
sar edx, 7
and edx, 1
test edx, edx
je 0x4602d6
mov eax, dword [ebp + 8]
add eax, 0xbac
push eax
push 0x60
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4602c8
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimsoxd
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x4602d6
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x15]
and al, 0x7f
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x15], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x16]
and eax, 1
test eax, eax
je 0x460323
mov ecx, dword [ebp + 8]
add ecx, 0xbb0
push ecx
push 0x61
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460314
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimclrd
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x460323
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x16]
and cl, 0xfe
mov edx, dword [ebp + 8]
mov byte [edx + 0x16], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x16]
sar ecx, 1
and ecx, 1
test ecx, ecx
je 0x460372
mov edx, dword [ebp + 8]
add edx, 0xbb4
push edx
push 0x62
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460363
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimclre
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x460372
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x16]
and dl, 0xfd
mov eax, dword [ebp + 8]
mov byte [eax + 0x16], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x16]
sar edx, 2
and edx, 1
test edx, edx
je 0x4603c0
mov eax, dword [ebp + 8]
add eax, 0xbb8
push eax
push 0x63
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4603b2
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimclrt
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x4603c0
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x16]
and al, 0xfb
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x16], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x21]
sar eax, 6
and eax, 1
test eax, eax
je 0x460410
mov ecx, dword [ebp + 8]
add ecx, 0xbd8
push ecx
push 0x64
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460401
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimunit
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x460410
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x21]
and cl, 0xbf
mov edx, dword [ebp + 8]
mov byte [edx + 0x21], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x21]
sar ecx, 7
and ecx, 1
test ecx, ecx
je 0x460460
mov edx, dword [ebp + 8]
add edx, 0xbdc
push edx
push 0x65
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460451
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimdec
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x460460
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x21]
and dl, 0x7f
mov eax, dword [ebp + 8]
mov byte [eax + 0x21], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x22]
and edx, 1
test edx, edx
je 0x4604ab
mov eax, dword [ebp + 8]
add eax, 0xbe0
push eax
push 0x66
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46049d
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtdec
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x4604ab
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x22]
and al, 0xfe
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x22], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x22]
sar eax, 1
and eax, 1
test eax, eax
je 0x4604fa
mov ecx, dword [ebp + 8]
add ecx, 0xbe4
push ecx
push 0x67
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4604eb
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimaltu
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x4604fa
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x22]
and cl, 0xfd
mov edx, dword [ebp + 8]
mov byte [edx + 0x22], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x22]
sar ecx, 2
and ecx, 1
test ecx, ecx
je 0x46054a
mov edx, dword [ebp + 8]
add edx, 0xbe8
push edx
push 0x68
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46053b
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimalttd
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x46054a
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x22]
and dl, 0xfb
mov eax, dword [ebp + 8]
mov byte [eax + 0x22], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x22]
sar edx, 3
and edx, 1
test edx, edx
je 0x460598
mov eax, dword [ebp + 8]
add eax, 0xbec
push eax
push 0x69
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46058a
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimaunit
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x460598
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x22]
and al, 0xf7
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x22], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x23]
and eax, 1
test eax, eax
je 0x4605e5
mov ecx, dword [ebp + 8]
add ecx, 0xbf0
push ecx
push 0x6a
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4605d6
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimjust
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x4605e5
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x23]
and cl, 0xfe
mov edx, dword [ebp + 8]
mov byte [edx + 0x23], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x23]
sar ecx, 1
and ecx, 1
test ecx, ecx
je 0x460634
mov edx, dword [ebp + 8]
add edx, 0xbf4
push edx
push 0x6b
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460625
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimsd1
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x460634
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x23]
and dl, 0xfd
mov eax, dword [ebp + 8]
mov byte [eax + 0x23], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x23]
sar edx, 2
and edx, 1
test edx, edx
je 0x460682
mov eax, dword [ebp + 8]
add eax, 0xbf8
push eax
push 0x6c
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460674
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimsd2
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x460682
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x23]
and al, 0xfb
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x23], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x23]
sar eax, 3
and eax, 1
test eax, eax
je 0x4606d2
mov ecx, dword [ebp + 8]
add ecx, 0xbfc
push ecx
push 0x6d
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4606c3
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtolj
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x4606d2
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x23]
and cl, 0xf7
mov edx, dword [ebp + 8]
mov byte [edx + 0x23], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x23]
sar ecx, 4
and ecx, 1
test ecx, ecx
je 0x460722
mov edx, dword [ebp + 8]
add edx, 0xc00
push edx
push 0x6e
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460713
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimtzin
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x460722
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x23]
and dl, 0xef
mov eax, dword [ebp + 8]
mov byte [eax + 0x23], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x23]
sar edx, 5
and edx, 1
test edx, edx
je 0x460770
mov eax, dword [ebp + 8]
add eax, 0xc04
push eax
push 0x6f
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460762
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimaltz
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x460770
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x23]
and al, 0xdf
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x23], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x23]
sar eax, 6
and eax, 1
test eax, eax
je 0x4607c0
mov ecx, dword [ebp + 8]
add ecx, 0xc08
push ecx
push 0x70
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4607b1
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimalttz
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0040176f
add esp, 8
jmp 0x4607c0
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x23]
and cl, 0xbf
mov edx, dword [ebp + 8]
mov byte [edx + 0x23], cl
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x23]
sar ecx, 7
and ecx, 1
test ecx, ecx
je 0x460810
mov edx, dword [ebp + 8]
add edx, 0xc0c
push edx
push 0x71
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460801
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimfit
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x460810
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x23]
and dl, 0x7f
mov eax, dword [ebp + 8]
mov byte [eax + 0x23], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x24]
and edx, 1
test edx, edx
je 0x46085b
mov eax, dword [ebp + 8]
add eax, 0xc10
push eax
push 0x72
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46084d
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimupt
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0040176f
add esp, 8
jmp 0x46085b
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x24]
and al, 0xfe
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x24], al
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x2a]
sar eax, 5
and eax, 1
test eax, eax
je 0x460916
cmp dword [ebp - 0x38], 0
je 0x460916
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0xd94
push eax
call fcn.00457132
add esp, 0xc
test eax, eax
je 0x4608d7
mov dword [ebp - 0x28], 0xc8
push 0xc
mov ecx, dword [ebp + 8]
add ecx, 0xd94
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.005bff10
add esp, 0xc
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x25c
push ecx
push 4
call fcn.0042c5e2
add esp, 0xc
jmp 0x460916
lea edx, [ebp - 0x13c]
push edx
push 0xc8
call fcn.00464780
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x460907
push str.DIMSTYLE_TABLE:_fill_tab_dimstyle_dimldrblk
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040176f
add esp, 8
jmp 0x460916
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x2a]
and dl, 0xdf
mov eax, dword [ebp + 8]
mov byte [eax + 0x2a], dl
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x2a]
sar edx, 4
and edx, 1
test edx, edx
je 0x46098a
cmp dword [ebp - 0x38], 0
je 0x46098a
push 0x10
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xd14
push ecx
call fcn.005c21ef
add esp, 0xc
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x38]
add eax, 0x254
push eax
push 0x20
call fcn.0042eb70
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x46098a
mov ecx, dword [ebp - 0x34]
add ecx, 4
push ecx
push 0xcc
call fcn.00464780
add esp, 8
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x2a]
and al, 0xef
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x2a], al
mov edx, dword [ebp + 8]
cmp dword [edx + 0x100], 0
je 0x4609b9
mov eax, dword [ebp + 8]
add eax, 0x100
push eax
push 0xc5
call fcn.00464780
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], 0
mov edx, dword [ebp + 8]
mov al, byte [edx + 8]
and al, 0xbf
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], al
mov esp, ebp
pop ebp
ret